Vite proxy config simplified. Renaming /auth/restricted to have a trailing slash for better Vite compatibility.
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user