Improved profile view layout.
This commit is contained in:
@@ -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/")
|
||||
|
||||
Reference in New Issue
Block a user