fix: correct wallpaper dir to 3 levels up (server/api/settings.py -> Nexus/web/app/wallpapers)

Path breakdown: __file__ is server/api/settings.py
  .parent → server/api/
  .parent.parent → server/
  .parent.parent.parent → Nexus/ (repo root)
  Then append web/app/wallpapers

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Your Name
2026-05-31 20:38:35 +08:00
parent afd32118b2
commit 3d5870b404
+1 -1
View File
@@ -1265,7 +1265,7 @@ def _retry_to_dict(job: PushRetryJob) -> dict:
# ── Bing Daily Wallpaper — download + cache to disk ──
_WALLPAPER_DIR = Path(__file__).resolve().parent.parent.parent.parent / "web" / "app" / "wallpapers"
_WALLPAPER_DIR = Path(__file__).resolve().parent.parent.parent / "web" / "app" / "wallpapers"
@router.get("/bing-wallpaper", response_model=dict)
async def bing_wallpaper():