This commit is contained in:
Jesse-Ma
2022-12-23 17:38:33 +08:00
parent 5a9fe66cad
commit 616e9499d7
3 changed files with 3 additions and 19 deletions

View File

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