Merge pull request #5845 from bollwyvl/add-wasm-mime

Add wasm mimetype override
Kevin Bates 6 years ago committed by GitHub
commit cd7a06ce88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2000,6 +2000,8 @@ class NotebookApp(JupyterApp):
# ensure css, js are correct, which are required for pages to function
mimetypes.add_type('text/css', '.css')
mimetypes.add_type('application/javascript', '.js')
# for python <3.8
mimetypes.add_type('application/wasm', '.wasm')
def shutdown_no_activity(self):
"""Shutdown server on timeout when there are no kernels or terminals."""

Loading…
Cancel
Save