Ajustes UI

This commit is contained in:
devRaGonSa
2026-03-20 18:54:31 +01:00
parent 87c1f4e8c3
commit c50ab64047
19 changed files with 1111 additions and 713 deletions

View File

@@ -9,7 +9,7 @@ from pathlib import Path
DEFAULT_HOST = "127.0.0.1"
DEFAULT_PORT = 8000
DEFAULT_STORAGE_FILENAME = "hll_vietnam_dev.sqlite3"
DEFAULT_REFRESH_INTERVAL_SECONDS = 300
DEFAULT_REFRESH_INTERVAL_SECONDS = 60
DEFAULT_ALLOWED_ORIGINS = (
"null",
"http://127.0.0.1:5500",

View File

@@ -49,13 +49,13 @@ def run_local_refresh_loop(
def main() -> None:
"""Allow local scheduled refresh execution without adding external infrastructure."""
parser = argparse.ArgumentParser(
description="Run periodic local snapshot refreshes for development.",
description="Run periodic local snapshot refreshes for development and landing demos.",
)
parser.add_argument(
"--interval",
type=int,
default=get_refresh_interval_seconds(),
help="Seconds to wait between persisted refresh runs.",
help="Seconds to wait between persisted refresh runs. Defaults to env value or 60.",
)
parser.add_argument(
"--source",