fix(vite): Proxy API requests to backend on port 8001 to prevent port collision

This commit is contained in:
Atharv1705
2026-11-27 15:40:46 +05:30
parent c7b3ead367
commit fca6e3a722
+1 -1
View File
@@ -13,7 +13,7 @@ export default defineConfig({
port: 5173, port: 5173,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://127.0.0.1:8000', target: 'http://127.0.0.1:8001',
changeOrigin: true, changeOrigin: true,
}, },
}, },