Skip to content

Commit d8730ce

Browse files
committed
Fix comment
1 parent 19c6cbb commit d8730ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebook/notebookapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,8 +1620,8 @@ def init_server_extensions(self):
16201620
def init_mime_overrides(self):
16211621
# On some Windows machines, an application has registered an incorrect
16221622
# mimetype for CSS and JavaScript in the registry.
1623-
# Tornado uses this when serving .css files, causing browsers to reject the stylesheet.
1624-
# We know the mimetype always needs to be text/css for css
1623+
# Tornado uses this when serving .css and .js files, causing browsers to
1624+
# reject these files. We know the mimetype always needs to be text/css for css
16251625
# and application/javascript for JS, so we override it here.
16261626
mimetypes.add_type('text/css', '.css')
16271627
mimetypes.add_type('application/javascript', '.js')

0 commit comments

Comments
 (0)