From 40dd36a940f53dc57115483d069dd27d87b8cb1f Mon Sep 17 00:00:00 2001
From: 明梦爽 <2972214568@qq.com>
Date: 星期四, 03 三月 2022 15:22:53 +0800
Subject: [PATCH] 功能完善
---
vue.config.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 37fd1ed..9557797 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,10 +1,11 @@
const webpack = require('webpack');
module.exports = {
+ publicPath:'./',
configureWebpack: {
devServer: {
proxy: {
'/api': {
- target: 'http://8.140.68.52',
+ target: 'http://localhost:7070',
changeOrigin: true,
ws:true,
pathRewrite: {
@@ -13,5 +14,5 @@
}
}
}
- }
+ },
}
\ No newline at end of file
--
Gitblit v1.8.0