|
@@ -14,6 +14,13 @@ export default defineConfig({
|
|
|
},
|
|
|
title: '金科环境数字化管理平台',
|
|
|
publicPath: process.env.NODE_ENV == 'development' ? '/' : '/gt-dig/',
|
|
|
+ metas: [
|
|
|
+ // 配置html禁止缓存
|
|
|
+ { 'http-equiv': 'pragma', content: 'no-cache' },
|
|
|
+ { 'http-equiv': 'cache-control', content: 'no-cache' },
|
|
|
+ { 'http-equiv': 'expires', content: '0' },
|
|
|
+ { 'http-equiv': 'X-UA-Compatible', content: 'IE=EmulateIE9' },
|
|
|
+ ],
|
|
|
links: [
|
|
|
{
|
|
|
href: 'stylesheet',
|
|
@@ -34,7 +41,7 @@ export default defineConfig({
|
|
|
'/api': {
|
|
|
// target: 'http://47.96.12.136:8888/',
|
|
|
target: 'http://47.96.12.136:8895/',
|
|
|
- // target: 'http://120.55.44.4:8902/',
|
|
|
+ // target: 'https://work.greentech.com.cn/',
|
|
|
changeOrigin: true,
|
|
|
},
|
|
|
},
|