mirror of
https://github.com/MedzikUser/HomeDisk.git
synced 2024-08-14 21:46:53 +00:00
13 lines
242 B
TOML
13 lines
242 B
TOML
# HTTP Server
|
|
[http]
|
|
host = "0.0.0.0"
|
|
port = 8080
|
|
cors = [
|
|
"127.0.0.1:8000",
|
|
"localhost:8000",
|
|
]
|
|
|
|
# Json Web Token
|
|
[jwt]
|
|
secret = "secret key used to sign tokens" # secret used to sign tokens
|
|
expires = 24 # validity of token in hours
|