文件访问404,证据docx文件不允许编辑

This commit is contained in:
hanchaobo
2024-04-30 14:23:02 +08:00
parent 0b08bd1c07
commit 315aee6d78
2 changed files with 9 additions and 7 deletions
+4 -4
View File
@@ -5,16 +5,16 @@ module.exports = defineConfig({
proxy: {
'/tiaojie': {
// target: 'https://api.xayunmei.com/tiaojieapitest', // 后端服务器地址
target: 'http://172.16.1.26:6001',
target: 'http://121.40.189.20:6001',
changeOrigin: true, // 是否改变Origin头信息
secure : false,
pathRewrite: {
'^/tiaojie': '' // 将/api前缀重写为空字符串
},
},
'/tiaojiez': {
target: 'https://api.xayunmei.com/tiaojieapi', // 后端服务器地址
// target: 'http://172.16.1.4:7001',
'/tiaojieprod': {
// target: 'https://api.xayunmei.com/tiaojieapi', // 后端服务器地址
target: 'http://121.40.189.20:7001',
changeOrigin: true, // 是否改变Origin头信息
secure : false,
pathRewrite: {