소스 검색

修复请求个人中心问题

yf_zd 5 년 전
부모
커밋
34c868e3bd
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 3
      bigdata2/config/index.js
  2. 1 1
      bigdata2/src/router/index.js

+ 3 - 3
bigdata2/config/index.js

@@ -11,7 +11,7 @@ module.exports = {
     assetsPublicPath: '/',
     proxyTable: {
       '/api': {
-        target: 'http://192.168.1.5:8000/',
+        target: 'http://192.168.1.12:8000/',
         // target: 'http://192.168.1.120:8001/',
         changeOrigin: true,
         pathRewrite: {
@@ -48,8 +48,8 @@ module.exports = {
       },
     },
     // Various Dev Server settings
-    host: '192.168.1.10', // can be overwritten by process.env.HOST
-    port: 8000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
+    host: '192.168.1.12', // can be overwritten by process.env.HOST
+    port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
     autoOpenBrowser: false,
     errorOverlay: true,
     notifyOnErrors: true,

+ 1 - 1
bigdata2/src/router/index.js

@@ -44,7 +44,7 @@ Vue.use(Router)
 export default new Router({
   routes: [{
       path:'',
-      component: Home,
+      component: Index,
     },{
     path: '/index',
     component: Index,