Skip to content

Commit

Permalink
Merge pull request #398 from plotly/update-catch-all-route-comment
Browse files Browse the repository at this point in the history
Add used by dcc.Location to catch-all route comment.
  • Loading branch information
T4rk1n committed Sep 20, 2018
2 parents a6388be + ff30e61 commit c562883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def add_url(name, view_func, methods=('GET',)):
self.config['routes_pathname_prefix'],
self.index)

# catch-all for front-end routes
# catch-all for front-end routes, used by dcc.Location
add_url(
'{}<path:path>'.format(self.config['routes_pathname_prefix']),
self.index)
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements-py37.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dash_core_components>=0.27.2
dash_html_components>=0.12.0
dash_html_components==0.12.0rc3
dash-flow-example==0.0.3
dash-dangerously-set-inner-html
dash_renderer
Expand Down

0 comments on commit c562883

Please sign in to comment.