diff --git a/src/central/gui/__init__.py b/src/central/gui/__init__.py index f7ee746..4d2372c 100644 --- a/src/central/gui/__init__.py +++ b/src/central/gui/__init__.py @@ -169,7 +169,7 @@ def main() -> None: uvicorn.run( "central.gui:app", host="0.0.0.0", - port=8088, + port=8000, reload=False, ) diff --git a/src/central/gui/middleware.py b/src/central/gui/middleware.py index e451528..be5b25f 100644 --- a/src/central/gui/middleware.py +++ b/src/central/gui/middleware.py @@ -57,7 +57,7 @@ class SetupGateMiddleware(BaseHTTPMiddleware): if not setup_complete: # Setup not complete - only allow exempt paths if not _is_exempt(path, SETUP_EXEMPT_PATHS, SETUP_EXEMPT_PREFIXES): - return RedirectResponse(url="/setup", status_code=307) + return RedirectResponse(url="/setup", status_code=302) else: # Setup complete - redirect /setup to / if path == "/setup":