jupyterhub / jupyter-server-proxy

Jupyter notebook server extension to proxy web services.
https://jupyter-server-proxy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
351 stars 148 forks source link

Refused to load extension javascript #408

Open eddienko opened 1 year ago

eddienko commented 1 year ago

Bug description

Running the last version from the main repository, the extension does not load and the JS console logs:

Refused to execute https://xxx.xxx.xxx/user/eglez/jupyter/lab/extensions/@jupyterlab/server-proxy/static/remoteEntry.de6993e7d2a4b16015fd.js as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.

How to reproduce

Checkout latest main branch, run "python build -m ." followed by pip install.

Your personal set up

jupyter                       1.0.0
jupyter_client                7.3.4
jupyter-console               6.6.2
jupyter_core                  5.2.0
jupyter-events                0.6.3
jupyter-rsession-proxy        2.1.0
jupyter-server                1.23.4
jupyter_server_fileid         0.9.0
jupyter-server-mathjax        0.2.6
jupyter_server_proxy          4.0.0
jupyter_server_ydoc           0.8.0
jupyter-telemetry             0.1.0
jupyter-ydoc                  0.2.4
jupyterhub                    3.1.1
jupyterlab                    3.6.3
jupyterlab_code_formatter     2.0.0
jupyterlab-commands           0.3.4
jupyterlab-fonts              2.1.1
jupyterlab-git                0.41.0
jupyterlab_horizon_theme      3.1.1
jupyterlab-iframe             0.4.4
jupyterlab-pygments           0.1.2
jupyterlab-recents            3.2.0
jupyterlab-s3-browser         0.12.0
jupyterlab_server             2.19.0
jupyterlab-widgets            1.0.0