|
@@ -34,9 +34,9 @@ module.exports = {
|
|
|
host: '0.0.0.0',
|
|
|
port: port,
|
|
|
open: true,
|
|
|
- https:{
|
|
|
- cert : fs.readFileSync(ssl_path.join(__dirname,'src/ssl/supermap.pem')),
|
|
|
- key : fs.readFileSync(ssl_path.join(__dirname,'src/ssl/supermap.key'))
|
|
|
+ https: {
|
|
|
+ cert: fs.readFileSync(ssl_path.join(__dirname, 'src/ssl/supermap.pem')),
|
|
|
+ key: fs.readFileSync(ssl_path.join(__dirname, 'src/ssl/supermap.key'))
|
|
|
},
|
|
|
|
|
|
/**
|
|
@@ -52,8 +52,8 @@ module.exports = {
|
|
|
proxy: {
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
- target: `https://www.sunyishi.com:3031`,
|
|
|
- // target: `https://117.78.49.164:3031`,
|
|
|
+ // target: `https://www.sunyishi.com:3031`,
|
|
|
+ target: `https://117.78.49.164:3031`,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
@@ -65,7 +65,7 @@ module.exports = {
|
|
|
css: {
|
|
|
loaderOptions: {
|
|
|
sass: {
|
|
|
- sassOptions: { outputStyle: 'expanded' }
|
|
|
+ sassOptions: {outputStyle: 'expanded'}
|
|
|
}
|
|
|
}
|
|
|
},
|