Skip to content

Commit

Permalink
Do not replace main page with an empty one (#4272)
Browse files Browse the repository at this point in the history
This PR fixes #4270 by altering the documentation of storage. There was
some new code which replaced the root-route with an empty page.
  • Loading branch information
rodja authored Jan 26, 2025
1 parent ee0d507 commit cbd59a4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions website/documentation/content/storage_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,9 @@ def max_tab_storage_age():
# app.storage.max_tab_storage_age = timedelta(minutes=1).total_seconds()
ui.label(f'Tab storage age: {timedelta(minutes=1).total_seconds()} seconds') # HIDE

@ui.page('/')
def index():
# ui.label(f'Tab storage age: {app.storage.max_tab_storage_age} seconds')
pass # HIDE
# @ui.page('/')
# def index():
# ui.label(f'Tab storage age: {app.storage.max_tab_storage_age} seconds')


@doc.demo('Short-term memory', '''
Expand Down

0 comments on commit cbd59a4

Please sign in to comment.