This commit is contained in:
liuhanhua
2025-12-01 10:09:46 +08:00
parent 6cdc748f9e
commit f8069035a8
21 changed files with 4006 additions and 103 deletions

12
config/proxy.js Normal file
View File

@@ -0,0 +1,12 @@
const proxy = {
'/api': {
'target': 'http://jsonplaceholder.typicode.com/',
'changeOrigin': true,
'pathRewrite': { '^/api' : '' },
},
}
export default proxy;