From 1fa40b1905e6e61311359a6c810f5dc47ca69a8e Mon Sep 17 00:00:00 2001 From: TylerCG <117808427+TylerCG@users.noreply.github.com> Date: Sun, 20 Apr 2025 18:01:26 -0400 Subject: [PATCH] fix attempt --- app/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/main.py b/app/main.py index 1ff6156..63170c6 100644 --- a/app/main.py +++ b/app/main.py @@ -10,10 +10,10 @@ import json app = FastAPI() # # # Mount static files if needed (e.g. CSS, JS, images) -# app.mount("/static", StaticFiles(directory="/static"), name="static") +app.mount("/static", StaticFiles(directory="app/static"), name="static") # # Jinja2 template directory -templates = Jinja2Templates(directory="/app/templates") +templates = Jinja2Templates(directory="app/templates") # api @@ -21,7 +21,7 @@ templates = Jinja2Templates(directory="/app/templates") async def dropoutUpdate(): try: download.dropout.series() - return JSONResponse(status_code=200, content={"status": "success", "message": "Series information gather successfully."}) + return JSONResponse(status_code=200, content={"status": "success", "message": "Series grab complete."}) except Exception as e: return JSONResponse(status_code=500, content={"status": "error", "message": str(e)})