From cbd59a4bfdb56742282e1ef88e93fb3e4febc5dd Mon Sep 17 00:00:00 2001 From: Rodja Trappe Date: Sun, 26 Jan 2025 13:30:45 +0100 Subject: [PATCH] Do not replace main page with an empty one (#4272) This PR fixes #4270 by altering the documentation of storage. There was some new code which replaced the root-route with an empty page. --- website/documentation/content/storage_documentation.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/documentation/content/storage_documentation.py b/website/documentation/content/storage_documentation.py index 1eeffd35a..6f1749f70 100644 --- a/website/documentation/content/storage_documentation.py +++ b/website/documentation/content/storage_documentation.py @@ -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', '''