Update the _serve_static_file function to manually set mimetype based on file type. Also does not force static to be in the request path. These changes allow the plugin to load in a colab notebook as well as the jupyter notebooks.
Move the client directory to the top level. This does not affect functionality but does seem to be the proper way to structure the plugin hierarchy.
Makes three changes:
_serve_static_file
function to manually setmimetype
based on file type. Also does not forcestatic
to be in the request path. These changes allow the plugin to load in a colab notebook as well as the jupyter notebooks.client
directory to the top level. This does not affect functionality but does seem to be the proper way to structure the plugin hierarchy.0.0.2