HomeDisk/config.toml

14 lines
242 B
TOML
Raw Normal View History

2022-04-23 10:52:56 +00:00
# HTTP Server
2022-04-16 18:19:38 +00:00
[http]
host = "0.0.0.0"
port = 8080
cors = [
"127.0.0.1:8000",
"localhost:8000",
]
2022-04-19 13:14:17 +00:00
2022-04-23 10:52:56 +00:00
# Json Web Token
2022-04-19 13:14:17 +00:00
[jwt]
2022-04-23 10:52:56 +00:00
secret = "secret key used to sign tokens" # secret used to sign tokens
expires = 24 # validity of token in hours