Improved profile view layout.

This commit is contained in:
Leo Vasanko
2025-12-03 01:04:07 +00:00
parent 70411fa77b
commit ca8d65ad25
3 changed files with 26 additions and 31 deletions
+1 -6
View File
@@ -51,7 +51,7 @@ app = FastAPI(lifespan=lifespan)
# Apply redirections to auth-host if configured (deny access to restricted endpoints, remove /auth/)
app.middleware("http")(auth_host.redirect_middleware)
app.mount("/auth/admin/", admin.app)
app.mount("/auth/api/admin/", admin.app)
app.mount("/auth/api/", api.app)
app.mount("/auth/ws/", ws.app)
app.mount(
@@ -59,11 +59,6 @@ app.mount(
StaticFiles(directory=frontend.file("auth", "assets")),
name="assets",
)
app.mount(
"/int/",
StaticFiles(directory=frontend.file("int"), html=True),
name="int",
)
@app.get("/auth/restricted/")