update redirect path format
This commit is contained in:
1 parent
a6daff4e38
commit
cea23efac3
23 files changed
+194
-3
No files matched your search
@@ -152,7 +152,7 @@ async def download_and_save_song(
|
||||
|
||||
# 프론트엔드에서 접근 가능한 URL 생성
|
||||
relative_path = f"/media/song/{today}/{unique_id}/{file_name}"
|
||||
base_url = f"http://{prj_settings.PROJECT_DOMAIN}"
|
||||
base_url = f"{prj_settings.PROJECT_DOMAIN}"
|
||||
file_url = f"{base_url}{relative_path}"
|
||||
logger.info(f"[download_and_save_song] URL generated - task_id: {task_id}, url: {file_url}")
|
||||
|
||||
|
||||
Reference in new issue
Block a user