[modify] file local server url

This commit is contained in:
Mark
2026-01-27 15:06:50 +08:00
parent 2694576a32
commit 28e6939884
4 changed files with 4 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ def generate_signed_url(
"""
if base_url is None:
# Use SERVER_IP or default to localhost
server_url = f"http://{settings.SERVER_IP}:8000/api"
server_url = settings.FILE_LOCAL_SERVER_URL
base_url = server_url
# Calculate expiration timestamp