Skip to content

Commit

Permalink
fix #2164 (#2165)
Browse files Browse the repository at this point in the history
  • Loading branch information
phcreery authored Aug 25, 2024
1 parent a5990eb commit e26d626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spotdl/console/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ def web(web_settings: WebOptions, downloader_settings: DownloaderOptions):
gui_repo,
output_dir=str(web_app_dir),
)
web_app_dir = web_app_dir / "/dist"
web_app_dir = os.path.join(web_app_dir, "dist")
elif web_settings["web_gui_location"]:
web_app_dir = Path(web_settings["web_gui_location"]).resolve()
logger.info("Using custom web app location: %s", web_app_dir)
else:
logger.info(
"Using cached web app. To update use the `--force-update-gui` flag."
)
web_app_dir = web_app_dir / "/dist"
web_app_dir = os.path.join(web_app_dir, "dist")

app_state.api = FastAPI(
title="spotDL",
Expand Down

0 comments on commit e26d626

Please sign in to comment.