Skip to content

Commit

Permalink
Change page separator in URL
Browse files Browse the repository at this point in the history
  • Loading branch information
okld committed May 22, 2021
1 parent 2ca1da8 commit 918d4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def main():
params = st.experimental_get_query_params()
page_names = tuple(PAGES.keys())
page_lower = [page.replace(" ", "_").lower() for page in PAGES.keys()]
page_lower = [page.replace(" ", "-").lower() for page in PAGES.keys()]

try:
page_default = page_lower.index(params["p"][0])
Expand Down

0 comments on commit 918d4a5

Please sign in to comment.