|
@@ -34,10 +34,10 @@ 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'))
|
|
|
+ // },
|
|
|
|
|
|
/**
|
|
|
* 昨夜星辰昨夜风
|
|
@@ -53,7 +53,7 @@ module.exports = {
|
|
|
// 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: `http://117.78.49.164:3031`,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|