mirror of
https://github.com/MedzikUser/HomeDisk.git
synced 2024-08-14 21:46:53 +00:00
20 lines
356 B
TOML
20 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"
|