From c508af3cff9a1abd85be4aa77d7aec31c92efd80 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 3 Nov 2020 22:34:30 -0500 Subject: [PATCH] add wasm mimetype --- notebook/notebookapp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notebook/notebookapp.py b/notebook/notebookapp.py index c015cad83..7aeb0e9b6 100755 --- a/notebook/notebookapp.py +++ b/notebook/notebookapp.py @@ -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."""