Skip to content

Commit c64cc48

Browse files
authored
Merge pull request #447 from sahilds1/446-bugfix-local-dev-frontend-api
[#446] BUGFIX: Fix failing local development frontend API calls
2 parents 76ecb8b + 0accb30 commit c64cc48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/vite.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,11 @@ export default defineConfig({
1515
host: "0.0.0.0",
1616
strictPort: true,
1717
port: 3000,
18+
proxy: {
19+
'/api': {
20+
target: 'http://backend:8000',
21+
changeOrigin: true,
22+
},
23+
},
1824
},
1925
});

0 commit comments

Comments
 (0)