* feat(files): make files service supporting home dir * fix(files): add path access control and avoid redirecting path in the backend * feat(files): add ListHome API * fix(server): fix access control issues * feat(client/web): support multi-home * feat(server): cleanup * fix(server): failed to init admin folder
24 lines
440 B
YAML
24 lines
440 B
YAML
fs:
|
|
root: "/quickshare/root"
|
|
opensLimit: 128
|
|
openTTL: 60 # 1 min
|
|
secrets:
|
|
tokenSecret: ""
|
|
server:
|
|
debug: false
|
|
host: "0.0.0.0"
|
|
port: 8686
|
|
readTimeout: 2000
|
|
writerTimeout: 86400000 # 1 day
|
|
maxHeaderBytes: 512
|
|
publicPath: "/quickshare/public"
|
|
users:
|
|
enableAuth: true
|
|
defaultAdmin: ""
|
|
defaultAdminPwd: ""
|
|
cookieTTL: 604800 # 1 week
|
|
cookieSecure: false
|
|
cookieHttpOnly: true
|
|
minUserNameLen: 4
|
|
minPwdLen: 6
|
|
|