This commit is contained in:
神仙都没用 2024-12-17 13:03:03 +08:00
parent 9ac391e723
commit 41d3608aac
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
export const proxy = { export const proxy = {
'/dev/': { '/dev/': {
target: 'https://show.cool-admin.com/api', target: 'http://127.0.0.1:8001',
// target: 'http://127.0.0.1:8001',
changeOrigin: true, changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/dev/, '') rewrite: (path: string) => path.replace(/^\/dev/, '')
}, },

File diff suppressed because one or more lines are too long