From 48e1fbc279373f06b45789bbdc9a372923ba4325 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期二, 26 四月 2022 11:10:39 +0800
Subject: [PATCH] 首页数据

---
 config/index.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/config/index.js b/config/index.js
index 6934c26..fd946f5 100644
--- a/config/index.js
+++ b/config/index.js
@@ -3,6 +3,7 @@
 // see http://vuejs-templates.github.io/webpack for documentation.
 
 const path = require("path");
+let url = 'http://192.168.0.132:8081'
 
 module.exports = {
   dev: {
@@ -10,11 +11,11 @@
     assetsSubDirectory: "static", // 缂栬瘧杈撳嚭鐨勪簩绾х洰褰�
     assetsPublicPath: "/", // 缂栬瘧鍙戝竷鐨勬牴鐩綍锛屽彲閰嶇疆涓鸿祫婧愭湇鍔″櫒鍩熷悕鎴� CDN 鍩熷悕
     proxyTable: {
-      "/api": {
-        target: "",
+      "/": {
+        target: url,
         changeOrigin: true,
         pathRewrite: {
-          "^/api": ""
+          "^/": ""
         }
       }
     },

--
Gitblit v1.9.1