router done

This commit is contained in:
Jesse-Ma
2023-03-10 10:30:43 +08:00
parent fbb2c4064c
commit 11987b0a77
12 changed files with 21977 additions and 1054 deletions

View File

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