We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84deb63 commit 2736a28Copy full SHA for 2736a28
api/apiserver.py
@@ -48,7 +48,7 @@ def __init__(self, *args, **kwargs):
48
if self.request.uri.startswith( "/api/" ):
49
self.set_header("Content-Type", "application/json")
50
else:
51
- self.set_header("Content-Type", "application/x-javascript")
+ self.set_header("Content-Type", "application/javascript")
52
53
self.set_header("X-Frame-Options", "deny")
54
self.set_header("Content-Security-Policy", "default-src 'self'")
0 commit comments