Skip to content

Commit

Permalink
config: 修改 vite 代理配置
Browse files Browse the repository at this point in the history
  • Loading branch information
kangood committed Feb 5, 2024
1 parent 6d35078 commit a87aa14
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default defineConfig({
'/api': {
target: 'http://127.0.0.1:7441',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},
},
},
Expand Down

0 comments on commit a87aa14

Please sign in to comment.