Vite proxy config simplified. Renaming /auth/restricted to have a trailing slash for better Vite compatibility.

This commit is contained in:
Leo Vasanko
2025-12-02 22:41:12 +00:00
parent c83450dace
commit aed48de38e
6 changed files with 16 additions and 50 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ app.mount(
)
@app.get("/auth/restricted")
@app.get("/auth/restricted/")
async def restricted_view():
"""Serve the restricted/authentication UI for iframe embedding."""
return FileResponse(frontend.file("auth", "restricted", "index.html"))