test/custom-admin-ui #3

Merged
orion merged 673 commits from test/custom-admin-ui into master 2026-06-05 17:20:58 +08:00
Showing only changes of commit 783da1e397 - Show all commits
+2 -1
View File
@@ -95,8 +95,9 @@ app.include_router(share_api)
app.include_router(admin_api)
@app.exception_handler(404)
@app.get("/")
async def index():
async def index(request=None, exc=None):
return HTMLResponse(
content=open(
BASE_DIR / f"{settings.themesSelect}/index.html", "r", encoding="utf-8"