Skip to content

Commit d4b174e

Browse files
author
Xing Han Lu
authored
Fix homepage url
Former-commit-id: a80f1e5
1 parent 72637e0 commit d4b174e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dash-baseball-statistics/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# Declair function that connects other pages with content to container
5454
@app.callback(Output("page-content", "children"), [Input("url", "pathname")])
5555
def display_page(pathname):
56-
if pathname == app_name:
56+
if pathname in [app_name, app_name + '/']:
5757
return html.Div(
5858
[
5959
dcc.Markdown(

0 commit comments

Comments
 (0)