added /changelogs to static path

This commit is contained in:
ArabCoders 2025-03-17 00:37:09 +03:00
parent 8ce19b5a4b
commit 6f71c5ceda

View file

@ -213,7 +213,7 @@ class HttpAPI(Common):
preloaded += 1
if urlPath.endswith("/index.html"):
paths_list = ["/console", "/presets", "/tasks", "/notifications"]
paths_list = ["/console", "/presets", "/tasks", "/notifications", "/changeslog"]
for path in paths_list:
self._static_holder[path] = {"content": content, "content_type": contentType}
app.router.add_get(path, self._static_file)