|
@@ -20,7 +20,7 @@ def get_local_ip():
|
|
|
class Settings:
|
|
class Settings:
|
|
|
LOCAL_IP: str = get_local_ip()
|
|
LOCAL_IP: str = get_local_ip()
|
|
|
LOCAL_PORT: int = 7721
|
|
LOCAL_PORT: int = 7721
|
|
|
- BASE_URL: str = "http://192.168.31.188:7721"
|
|
|
|
|
|
|
+ BASE_URL: str = f"http://{LOCAL_IP}:{LOCAL_PORT}"
|
|
|
|
|
|
|
|
# API 核心配置
|
|
# API 核心配置
|
|
|
API_URL: str = "http://100.64.0.8/v1/workflows/run"
|
|
API_URL: str = "http://100.64.0.8/v1/workflows/run"
|