added browser to static paths

This commit is contained in:
arabcoders 2025-03-28 02:07:55 +03:00
parent 21e5dea5bf
commit bdaf07dff3

View file

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