Administrator 2 년 전
부모
커밋
5d2012ab9f
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      vue.config.js

+ 5 - 5
vue.config.js

@@ -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]: ''