Skip to content

Commit

Permalink
Expose Dash routes_pathname_prefix and request requests_pathname_pref…
Browse files Browse the repository at this point in the history
…ix (#235)

* Added route and request prefix.

* Testing with 3.7

* Rvert back to 3.8
  • Loading branch information
absynthe committed Dec 31, 2022
1 parent f6998cb commit 891a291
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions explainerdashboard/dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ def __init__(self,
external_stylesheets:List[str]=None,
server:bool=True,
url_base_pathname:str=None,
routes_pathname_prefix:str=None,
requests_pathname_prefix:str=None,
responsive:bool=True,
logins:List[List[str]]=None,
port:int=8050,
Expand Down Expand Up @@ -933,6 +935,8 @@ def _get_dash_app(self):
external_stylesheets=self.external_stylesheets,
assets_ignore=assets_ignore,
url_base_pathname=self.url_base_pathname,
routes_pathname_prefix=self.routes_pathname_prefix,
requests_pathname_prefix=self.requests_pathname_prefix,
meta_tags=meta_tags)
elif self.mode in ['inline', 'jupyterlab', 'external']:
app = JupyterDash(__name__,
Expand Down

0 comments on commit 891a291

Please sign in to comment.