更新cookie

This commit is contained in:
jjz
2025-09-15 15:48:35 +08:00
parent 8851643d80
commit 78889c89e1
2 changed files with 3 additions and 4 deletions

View File

@@ -9,10 +9,10 @@ import json # 用于将令牌保存为 JSON 格式
# 后端服务器配置
# BACKEND_HOST = "192.168.5.155"
BACKEND_HOST = "test.shuidrop.com"
BACKEND_HOST = "shuidrop.com"
# BACKEND_HOST = "test.shuidrop.com"
# BACKEND_PORT = "8000"
BACKEND_PORT = ""
BACKEND_BASE_URL = f"http://{BACKEND_HOST}:{BACKEND_PORT}"
# BACKEND_WS_URL = f"ws://{BACKEND_HOST}:{BACKEND_PORT}"
BACKEND_WS_URL = f"wss://{BACKEND_HOST}"
@@ -66,7 +66,6 @@ def get_config():
return {
'backend_host': BACKEND_HOST,
'backend_port': BACKEND_PORT,
'backend_base_url': BACKEND_BASE_URL,
'backend_ws_url': BACKEND_WS_URL,
'ws_connect_timeout': WS_CONNECT_TIMEOUT,
'ws_message_timeout': WS_MESSAGE_TIMEOUT,