mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-17 22:08:35 +00:00
Fix root handler for web-ui
This commit is contained in:
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…
Reference in New Issue
Block a user