added browser to static paths
This commit is contained in:
parent
21e5dea5bf
commit
bdaf07dff3
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ class HttpAPI(Common):
|
||||||
preloaded += 1
|
preloaded += 1
|
||||||
|
|
||||||
if urlPath.endswith("/index.html"):
|
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:
|
for path in paths_list:
|
||||||
self._static_holder[path] = {"content": content, "content_type": contentType}
|
self._static_holder[path] = {"content": content, "content_type": contentType}
|
||||||
app.router.add_get(path, self._static_file)
|
app.router.add_get(path, self._static_file)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue