Merge branch 'dev' of http://47.94.165.164:13000/geg-gas/geg-gas-web into dev
This commit is contained in:
@ -45,9 +45,9 @@ VITE_GLOB_PRINT_BASE_URL = http://114.116.210.204:3300
|
|||||||
VITE_GLOB_API_URL_PREFIX =
|
VITE_GLOB_API_URL_PREFIX =
|
||||||
|
|
||||||
#租户开关
|
#租户开关
|
||||||
# VITE_GLOB_TENANT_ENABLED = true
|
VITE_GLOB_TENANT_ENABLED = true
|
||||||
#登录时是否需要输入租户码
|
#登录时是否需要输入租户码
|
||||||
# VITE_GLOB_TENANT_INPUT_REQUIRED = true
|
VITE_GLOB_TENANT_INPUT_REQUIRED = true
|
||||||
|
|
||||||
# 屏蔽通知消息的轮询
|
# 屏蔽通知消息的轮询
|
||||||
VITE_GLOB_DISABLE_NEWS=false
|
VITE_GLOB_DISABLE_NEWS=false
|
||||||
|
|||||||
@ -27,6 +27,7 @@ export function createProxy(list: ProxyList = []) {
|
|||||||
target: target,
|
target: target,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
|
timeout: 600000,
|
||||||
rewrite: (path) => path.replace(new RegExp(`^${prefix}`), ''),
|
rewrite: (path) => path.replace(new RegExp(`^${prefix}`), ''),
|
||||||
// https is require secure=false
|
// https is require secure=false
|
||||||
...(isHttps ? { secure: false } : {}),
|
...(isHttps ? { secure: false } : {}),
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
|
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
|
||||||
"build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode test && esno ./build/script/postBuild.ts",
|
"build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode test && esno ./build/script/postBuild.ts",
|
||||||
|
"build:dev": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
|
||||||
"build:no-cache": "pnpm clean:cache && npm run build",
|
"build:no-cache": "pnpm clean:cache && npm run build",
|
||||||
"report": "cross-env REPORT=true npm run build",
|
"report": "cross-env REPORT=true npm run build",
|
||||||
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
||||||
|
|||||||
Reference in New Issue
Block a user