feat: Update config pulled from cloud

This commit is contained in:
2025-10-11 22:32:29 +11:00
parent eaf363ee27
commit fdb5f84c92
2 changed files with 9 additions and 37 deletions

View File

@@ -75,9 +75,6 @@ NC_CONFIG = requests.get(
"https://cloud.woodburn.au/s/4ToXgFe3TnnFcN7/download/website-conf.json"
).json()
if 'time-zone' not in NC_CONFIG:
NC_CONFIG['time-zone'] = 10
# endregion
# region Assets routes
@@ -400,7 +397,7 @@ def index_get():
sites=SITES,
projects=PROJECTS,
time=time,
message=NC_CONFIG["message"],
message=NC_CONFIG.get("message",""),
),
200,
{"Content-Type": "text/html"},