mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix mimetype for javascript, #1559
This commit is contained in:
1 parent
cbb6eccad8
commit
3f4bdfef11
2 files changed
+8
-1
No files matched your search
@@ -118,6 +118,7 @@ class Response(aiohttp.web.Response):
|
||||
"""
|
||||
Stream a file as a response
|
||||
"""
|
||||
encoding = None
|
||||
|
||||
if not os.path.exists(path):
|
||||
raise aiohttp.web.HTTPNotFound()
|
||||
|
||||
Reference in new issue
Block a user