Fix root handler for web-ui

pull/1763/head
grossmj 4 years ago
parent 8df8b73c8f
commit 0a77233631

@ -34,7 +34,8 @@ class IndexHandler:
async def index(request, response):
#FIXME: this could probably be handled in a better way
static = get_resource(os.path.join('static', 'web-ui', 'bundled'))
static = get_resource(os.path.join('static', 'web-ui', 'index.html'))
print(static)
# guesstype prefers to have text/html type than application/javascript
# which results with warnings in Firefox 66 on Windows

Loading…
Cancel
Save