docs: update application configuration example
This commit is contained in:
@@ -9,15 +9,19 @@ spring:
|
|||||||
host: localhost
|
host: localhost
|
||||||
port: 6379
|
port: 6379
|
||||||
database: 0
|
database: 0
|
||||||
# password: 6hLFVqfGPviTYukn # Uncomment if password is necessary
|
# password: qwerty # Uncomment if password is necessary
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
pattern:
|
pattern:
|
||||||
# dateformat: dd MMM yyyy HH:mm:ss.SSS # Modify this for custom date format.
|
# dateformat: dd MMM yyyy HH:mm:ss.SSS # Modify this for custom date format.
|
||||||
|
|
||||||
app:
|
app:
|
||||||
common:
|
cookie:
|
||||||
version: 1.3.0.8-dev # Application version, you can change to any version you like, used for communication with frontend.
|
http-only: true
|
||||||
|
secure: false
|
||||||
|
same-site: none
|
||||||
|
path: '/'
|
||||||
|
max-age: P1D
|
||||||
cors:
|
cors:
|
||||||
allowed-origins: # Cross-origin allowed origins
|
allowed-origins: # Cross-origin allowed origins
|
||||||
- "http://localhost:5173" # Dev server for vite.
|
- "http://localhost:5173" # Dev server for vite.
|
||||||
@@ -41,12 +45,10 @@ app:
|
|||||||
issuer: dfguide.local # Issuer host
|
issuer: dfguide.local # Issuer host
|
||||||
secret: qwertyuiopasdfghjklzxcvbnm123456 # JWT singing secret, a 32-byte long or longer string is recommended
|
secret: qwertyuiopasdfghjklzxcvbnm123456 # JWT singing secret, a 32-byte long or longer string is recommended
|
||||||
valid-time: PT2H # JWT valid duration
|
valid-time: PT2H # JWT valid duration
|
||||||
cookie: # Cookie settings.
|
webhook:
|
||||||
http-only: true
|
github:
|
||||||
secure: false
|
secret: 123456
|
||||||
same-site: lax
|
allowed-users: [ octotcat, onixbyte ]
|
||||||
path: '/'
|
|
||||||
max-age: PT2H
|
|
||||||
|
|
||||||
springdoc:
|
springdoc:
|
||||||
api-docs:
|
api-docs:
|
||||||
|
|||||||
Reference in New Issue
Block a user