guhongwei 3 gadi atpakaļ
vecāks
revīzija
592438162c
3 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 1 1
      .env.development
  2. 1 1
      public/index.html
  3. 5 5
      vue.config.js

+ 1 - 1
.env.development

@@ -2,7 +2,7 @@
 ENV = 'development'
 
 # 若依管理系统/开发环境
-VUE_APP_BASE_API = '/dev-api'
+VUE_APP_BASE_API = '/prod-api'
 
 # 路由懒加载
 VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 1 - 1
public/index.html

@@ -5,7 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title><%= htmlWebpackPlugin.options.title %></title>
+    <title>实验室</title>
   </head>
   <body>
     <noscript>

+ 5 - 5
vue.config.js

@@ -20,15 +20,15 @@ module.exports = {
     port: '8001',
     proxy: {
       '/files': {
-        target: 'http://broadcast.waityou24.cn',
+        target: 'http://broadcast.kqyjy.com',
       },
       [process.env.VUE_APP_BASE_API]: {
-        target: 'http://192.168.1.197:8112',
+        target: 'http://broadcast.kqyjy.com',
         changeOrigin: true,
         ws: false,
-        pathRewrite: {
-          ['^' + process.env.VUE_APP_BASE_API]: '',
-        },
+        // pathRewrite: {
+        //   ['^' + process.env.VUE_APP_BASE_API]: '',
+        // },
       },
     },
   },