修复socket环境问题
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//当前环境 test,prod
|
//当前环境 test,prod
|
||||||
export const ENV = 'prod'
|
export const ENV = 'test'
|
||||||
export const ENV_BASE_URL = {
|
export const ENV_BASE_URL = {
|
||||||
java: {
|
java: {
|
||||||
prod: 'https://cashier.sxczgkj.com/',
|
prod: 'https://cashier.sxczgkj.com/',
|
||||||
@@ -102,7 +102,7 @@ const appConfig = {
|
|||||||
env: {},
|
env: {},
|
||||||
|
|
||||||
// wss: "wss://sockets.sxczgkj.com/wss", //测试环境
|
// wss: "wss://sockets.sxczgkj.com/wss", //测试环境
|
||||||
wss: returnWss(), //正式环境
|
wss: returnWss(ENV), //正式环境
|
||||||
// 环境变量常量
|
// 环境变量常量
|
||||||
ENV_ENUM: {
|
ENV_ENUM: {
|
||||||
DEVELOPMENT: 'development', // 本地调试地址
|
DEVELOPMENT: 'development', // 本地调试地址
|
||||||
|
|||||||
Reference in New Issue
Block a user