Skip to content

Commit

Permalink
feat: rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
harryle95 committed Jun 11, 2024
1 parent c4c6996 commit 276ab1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineConfig({
target: "http://115.146.85.153:8000",
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/api/, ''),
},
},
},
Expand Down

0 comments on commit 276ab1e

Please sign in to comment.