fix:修改env配置

This commit is contained in:
2026-05-07 18:29:04 +08:00
parent d2dc6c51cf
commit bb43de3a62
2 changed files with 2 additions and 4 deletions

View File

@@ -6,8 +6,7 @@ try {
switch (envVersion) {
case "develop": // 开发版
BASE_URL = "http://localhost:8000/api/shoot";
// BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";
BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";
break;
case "trial": // 体验版
BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";

View File

@@ -14,8 +14,7 @@ function createWebSocket(token, onMessage) {
switch (envVersion) {
case "develop": // 开发版
url = "ws://localhost:8000/socket";
// url = "wss://apitest.shelingxingqiu.com/socket";
url = "wss://apitest.shelingxingqiu.com/socket";
break;
case "trial": // 体验版
url = "wss://apitest.shelingxingqiu.com/socket";