Moved the restricted-api iframe src to /auth/api/restricted and removed the endpoint of the other restricted app.

This commit is contained in:
Leo Vasanko
2025-12-02 18:34:59 +00:00
parent 3441a7a2b3
commit 2a5f06d707
6 changed files with 14 additions and 17 deletions
-10
View File
@@ -89,16 +89,6 @@ async def admin_root(request: Request, auth=AUTH_COOKIE):
return await admin.adminapp(request, auth) # Delegated to admin app
@app.get("/auth/restricted")
async def restricted_view():
return FileResponse(frontend.file("restricted", "index.html"))
@app.get("/auth/restricted-api")
async def restricted_api_view():
return FileResponse(frontend.file("restricted-api", "index.html"))
# Note: this catch-all handler must be the last route defined
@app.get("/{reset}")
@app.get("/auth/{reset}")