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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user