Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

url_base_pathname broken #59

Open
iynehz opened this issue Apr 15, 2021 · 0 comments
Open

url_base_pathname broken #59

iynehz opened this issue Apr 15, 2021 · 0 comments

Comments

@iynehz
Copy link

iynehz commented Apr 15, 2021

The vanilla Dash class can take url_base_pathname and set both requests_pathname_prefix and routes_pathname_prefix [1][2]. The JupyterDash class, however, seems to have different behavior that it sets its own requests_pathname_prefix attribute, and defaults it to "/" regardless if user specifies url_base_pathname.. So url_base_pathname itself as a init parameter results a broken JupyterDash app.

[1] https://github.com/plotly/dash/blob/e8ac94919105a91c76a966c21aca2ec7b0297e22/dash/_configs.py#L97
[2] https://github.com/plotly/dash/blob/e8ac94919105a91c76a966c21aca2ec7b0297e22/dash/_configs.py#L111
[3]

requests_pathname_prefix = '/'

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

No branches or pull requests

1 participant