HomeDisk/config.toml

21 lines
356 B
TOML

[http]
# HTTP host
host = "0.0.0.0"
# HTTP port
port = 8080
# Cors domains
cors = [
"127.0.0.1:8000",
"localhost:8000",
]
[jwt]
# JWT Secret string (used to sign tokens)
secret = "secret key used to sign tokens"
# Token expiration time in hours
expires = 24 # one day
[storage]
# Directory where user files will be stored
path = "/home/homedisk"