22 lines
377 B
YAML
22 lines
377 B
YAML
database:
|
|
host: localhost
|
|
port: 3306
|
|
name: notes
|
|
username: notes
|
|
password: notes
|
|
|
|
server:
|
|
host: 127.0.0.1
|
|
port: 8081
|
|
cors: true
|
|
|
|
jwt:
|
|
secret: 9Io9kvgIedOcLdUvKl31OKf51jdTZcFHJFgqvEpfJuI= # Can be generated with `openssl rand -base64 32`
|
|
auth:
|
|
validity: 1
|
|
unit: HOURS
|
|
refresh:
|
|
validity: 15
|
|
unit: DAYS
|
|
|