Skip to content

Commit 24b4723

Browse files
committed
fix: update API proxy target from localhost to 127.0.0.1 in vite.config.js
1 parent d1a653a commit 24b4723

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig({
88
port: 3001,
99
proxy: {
1010
"/api": {
11-
target: "http://localhost:5001",
11+
target: "http://127.0.0.1:5001",
1212
changeOrigin: true,
1313
},
1414
},

0 commit comments

Comments
 (0)