Skip to content

Commit

Permalink
Do not replace main page with an empty one (fixes #4270)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Jan 26, 2025
1 parent 5032ca4 commit 8f5ceb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ demo.py
**/.pytest_cache
**/.coverage
**/.git
**/.github
**/.mypy_cache
**/.nicegui

# flyctl launch added from .pytest_cache/.gitignore
# Created by pytest automatically.
.pytest_cache/**/*

# flyctl launch added from tests/.pytest_cache/.gitignore
# Created by pytest automatically.
tests/.pytest_cache/**/*
**/.ruff_cache
**/*.pyc
**/.DS_Store
**/.idea
**/.vscode
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ swap_size_mb = 2048
handlers = ["tls", "http"]
[services.concurrency]
type = "requests"
hard_limit = 120
hard_limit = 80
soft_limit = 50

[[services.tcp_checks]]
Expand Down
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 8f5ceb6

Please sign in to comment.