Skip to content

Commit 2736a28

Browse files
1 parent 84deb63 commit 2736a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/apiserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, *args, **kwargs):
4848
if self.request.uri.startswith( "/api/" ):
4949
self.set_header("Content-Type", "application/json")
5050
else:
51-
self.set_header("Content-Type", "application/x-javascript")
51+
self.set_header("Content-Type", "application/javascript")
5252

5353
self.set_header("X-Frame-Options", "deny")
5454
self.set_header("Content-Security-Policy", "default-src 'self'")

0 commit comments

Comments
 (0)