Skip to content

Commit

Permalink
Update vite.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossen27 authored Apr 30, 2024
1 parent 2c091b6 commit 87deb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
port: 8080,
proxy: {
"/api": {
target: "http://localhost:4000", // 這裡是後端的 port
target: "http://localhost:10000", // 這裡是後端的 port
secure: false, // 若後端是 https 則設為 true
},
},
Expand Down

0 comments on commit 87deb80

Please sign in to comment.