后端端口由5002改为5052,避免trae端口冲突

This commit is contained in:
super committed 2026-05-14 00:37:48 +08:00
1 parent 8c8a65d838
commit da42832087
14 files changed
+30 -19

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ import sys
import time
FRONTEND_URL = "http://localhost:8881"
BACKEND_URL = "http://localhost:5002"
BACKEND_URL = "http://localhost:5052"
def test_backend_direct():
print(f"Testing Backend Direct at {BACKEND_URL}...")
@@ -37,7 +37,7 @@ def test_frontend_serve():
return False
def test_frontend_proxy():
# Vite proxy: /api -> http://127.0.0.1:5002
# Vite proxy: /api -> http://127.0.0.1:5052
url = f"{FRONTEND_URL}/api/agents"
print(f"Testing Frontend Proxy at {url}...")
try: