This commit is contained in:
Jesse-Ma
2022-06-06 10:56:12 +08:00
parent 0d10a1802a
commit 9a7d98316c
11 changed files with 392 additions and 50 deletions

View File

@@ -4,7 +4,7 @@ module.exports = defineConfig({
devServer: {
proxy: {
'/note': {
target: 'http://localhost:3333/', // 后台接口域名
target: 'http://localhost:55555/', // 后台接口域名
secure: false, // 如果是https接口需要配置这个参数
changeOrigin: true, //是否跨域
pathRewrite:{