You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wonder about setting the base_url for the jupyverse.
For instance, when running jupyter lab, the --LabApp.base_url option modifies the URL while connecting via browser.
I thought that --set frontend.base_url=/test/ works the same as --LabApp.base_url=/test.
But this option does not behave as I expected. Any solutions?
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Hi. The frontend.base_url parameter is used for correct redirects inside the frontend application (for example, jupyterlab). This must be set if you set the prefix at the level of the external proxy.
To add a prefix at the level of the entire Jupyverse, in addition to the frontend.base_url configuration, you also need to set root_path in FastApi app. Unfortunately, there is no CLI setting for this parameter. But you can do this through a plugin in which you override this parameter of the FastApi application.
Description
I just wonder about setting the base_url for the jupyverse.
For instance, when running jupyter lab, the
--LabApp.base_url
option modifies the URL while connecting via browser.I thought that
--set frontend.base_url=/test/
works the same as--LabApp.base_url=/test
.But this option does not behave as I expected. Any solutions?
Reproduce
Run jupyverse using below code
jupyverse --set kernels.require_yjs=true --set jupyterlab.server_side_execution=true --set auth.mode=noauth --set frontend.collaborative=true --set frontend.base_url=/ --host 0.0.0.0 --port 8888 --allow-origin '*'
access the jupyverse using browser and obtained below screen.
http://ipaddr:8888/lab
Run jupyverse using below code with
base_url
optionjupyverse --set kernels.require_yjs=true --set jupyterlab.server_side_execution=true --set auth.mode=noauth --set frontend.collaborative=true --set frontend.base_url=/test/ --host 0.0.0.0 --port 8888 --allow-origin '*'
access the jupyverse using browser and obtained below screen.
http://ipaddr:8888/test/lab
Expected behavior
Expected to have the same screenshot for both options.
Context
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: