mirror of
https://github.com/MedzikUser/HomeDisk.git
synced 2024-08-14 21:46:53 +00:00
17 lines
336 B
TOML
17 lines
336 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
|
|
|
|
# Storage
|
|
[storage]
|
|
path = "/home/homedisk" # the folder where the user files will be stored
|