feat(server): init site settings from config

This commit is contained in:
hexxa 2021-10-09 17:42:04 +08:00 committed by Hexxa
parent 8cce087c1f
commit 961bafa66c
6 changed files with 100 additions and 34 deletions

View file

@ -37,3 +37,12 @@ workers:
queueSize: 1024
sleepCyc: 1 # in second
workerCount: 2
site:
clientCfg:
siteName: "Quickshare"
siteDesc: "quick and simple file sharing"
bg:
url: "/static/img/textured_paper.png"
repeat: "repeat"
position: "fixed"
align: "center"

View file

@ -36,4 +36,13 @@ users:
workers:
queueSize: 1024
sleepCyc: 1 # in second
workerCount: 2
workerCount: 2
site:
clientCfg:
siteName: "Quickshare"
siteDesc: "quick and simple file sharing"
bg:
url: "/static/img/textured_paper.png"
repeat: "repeat"
position: "fixed"
align: "center"

View file

@ -32,4 +32,13 @@ users:
workers:
queueSize: 1024
sleepCyc: 1 # in second
workerCount: 2
workerCount: 2
site:
clientCfg:
siteName: "Quickshare"
siteDesc: "quick and simple file sharing"
bg:
url: "/static/img/textured_paper.png"
repeat: "repeat"
position: "fixed"
align: "center"