jyio / jupyter-marimo-proxy

Jupyter + Marimo = ❤️
Apache License 2.0
24 stars 5 forks source link

404 Not Found when used with named server #3

Closed jyio closed 5 months ago

jyio commented 5 months ago

Based on @benz0li's report from https://github.com/jyio/jupyter-marimo-proxy/issues/1#issuecomment-2182929738: when attempting to launch Marimo from a named server under JupyterHub,

Clicking on Marimo, a new page opens showing

{"detail":"Not Found"}
jyio commented 5 months ago

jupyter-marimo-proxy expects the URL path to be /user/USERNAME/marimo... https://github.com/jyio/jupyter-marimo-proxy/blob/2088cac37d3efec55b243c14f2b0b832ba18b966/jupyter_marimo_proxy/__init__.py#L7

... and this is obviously incorrect on a named server, where the URL path is /user/USERNAME/SERVERNAME/marimo.