Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Bokeh service URLs relative #2383

Open
jakirkham opened this issue Nov 30, 2018 · 8 comments
Open

Make Bokeh service URLs relative #2383

jakirkham opened this issue Nov 30, 2018 · 8 comments

Comments

@jakirkham
Copy link
Member

Would be great to make these URLs relative. This is helpful when using things like nbserverproxy.

<td> <a href="http://{{ ws.host }}:{{ ws.services['bokeh'] }}">bokeh</a> </td>

<a class="button is-primary" href="../../status">Bokeh</a>

@mrocklin
Copy link
Member

I agree generally, but in these two cases things might be more complex

  1. In the first case, we're referring to another server, so a relative link may not work
  2. In the second case, I think that that link is already relative

@mrocklin
Copy link
Member

Any response here @jakirkham ? OK to close?

@jakirkham
Copy link
Member Author

In the first case, we're referring to another server, so a relative link may not work

Would it be possible to proxy this somehow?

In the second case, I think that that link is already relative

Hmm...not sure why this link wasn't working before, but am not currently able to reproduce it.

@mrocklin
Copy link
Member

mrocklin commented Feb 1, 2019 via email

@yuvipanda
Copy link

Can bokeh server take a 'base_url' parameter? This is how usually things work with nbserverproxy (now jupyter-server-proxy)

@mrocklin
Copy link
Member

mrocklin commented Feb 1, 2019 via email

@mrocklin
Copy link
Member

mrocklin commented Feb 1, 2019 via email

@yuvipanda
Copy link

Can bokeh server take a 'base_url' parameter? This is how usually things work with nbserverproxy (now jupyter-server-proxy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants