hex plus plus

This commit is contained in:
Jesse-Ma
2023-03-31 10:21:44 +08:00
parent f369e59f6f
commit 8e6ce23b98
7 changed files with 97 additions and 56 deletions

View File

@@ -67,13 +67,21 @@ module.exports = defineConfig({
devServer: {
proxy: {
"/note": {
target: "https://flagnote.com/", // 后台接口域名
// target: "http://localhost:10000/", // 后台接口域名
//target: "https://flagnote.com/", // 后台接口域名
target: "http://localhost:20000/", // 后台接口域名
secure: false, // 如果是https接口需要配置这个参数
changeOrigin: true, //是否跨域
pathRewrite: {
// '^/': '/'
},
}, "^/[abcdefhikmnopqstuvwxyz23456789]{16}\\.txt$": {
//target: "https://flagnote.com/", // 后台接口域名
target: "http://localhost:20000/", // 后台接口域名
secure: false, // 如果是https接口需要配置这个参数
changeOrigin: true, //是否跨域
pathRewrite: {
'^/': '/note/'
},
},
},
},