notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Notebook base_url configuration always keeps "/" even when configured with empty string

Open GMNetto opened this issue 7 years ago • 3 comments
trafficstars

Hi,

I am trying to make the html and other served files by the notebook relative to the entire path. However, the base_url configuration always results on the notebook serving files with "/" as the first character. The html code below is the result of using jupyter notebook --NotebookApp.base_url=""

<link rel="stylesheet" href="/static/components/...
    <link rel="stylesheet" href="/static/components/...

I would like to know if there is a work around for this problem, or if there is another way to make relative to the entire path. My final objective would be serving jupyter with reverse proxy.

GMNetto avatar Jun 06 '18 12:06 GMNetto