Skip to content

Commit 87fd9b6

Browse files
author
Mansi2007275
committed
Fix proxy configuration to use /sdt route
1 parent 9f5630e commit 87fd9b6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

react-frontend/vite.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ export default defineConfig({
66
plugins: [react()],
77
server: {
88
port: 3000,
9+
// proxy: {
10+
// '/api': 'http://localhost:5000'
11+
// }
912
proxy: {
10-
'/api': 'http://localhost:5000'
13+
'/sdt': 'http://localhost:5000'
1114
}
1215
}
1316
})

0 commit comments

Comments
 (0)