From 5529b7077126be368abd444d45ec085d8c7779e3 Mon Sep 17 00:00:00 2001 From: 明梦爽 <2972214568@qq.com> Date: 星期日, 17 四月 2022 23:21:22 +0800 Subject: [PATCH] eslint语法规范 --- 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