This commit is contained in:
2025-12-03 09:30:32 +00:00
parent d5169fbec7
commit 85b1562a75
4 changed files with 23 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ app.include_router(download.router)
app.include_router(system.router)
@app.get("/", response_class=HTMLResponse)
async def index(request: Request):
def index(request: Request):
wrapper = TidalWrapper()
if not wrapper.is_authenticated():
return templates.TemplateResponse("login.html", {"request": request})