Fix LAN API base and development CORS regression

This commit is contained in:
2026-03-01 13:56:25 -03:00
parent bdd97d1c62
commit 48cfc79b5f
6 changed files with 45 additions and 5 deletions

View File

@@ -115,6 +115,7 @@ def _install_main_import_stubs() -> dict[str, ModuleType | None]:
"""Returns minimal settings consumed by app.main during test import."""
return SimpleNamespace(
app_env="development",
cors_origins=["http://localhost:5173"],
max_upload_request_size_bytes=1024,
)