Browse Source

生产环境走内网

flyzto 3 tháng trước cách đây
mục cha
commit
9885cef59c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      server/models/GamesPs.js

+ 1 - 1
server/models/GamesPs.js

@@ -33,7 +33,7 @@ const PS_IOR_KEYS = [
 // 测试环境
 // const BASE_URL = 'https://dev.api.czxd8.com/api/p';
 const IS_DEV = process.env.NODE_ENV == 'development';
-const BASE_URL = 'https://api.qboss.vip/api/p';
+const BASE_URL = IS_DEV ? 'https://api.qboss.vip/api/p' : 'http://172.17.222.37/api/p';
 
 const GAMES = {
   Leagues: {},