Skip to content

Commit 0accb30

Browse files
committed
Fix failing local dev frontend API calls
1 parent ca8c21f commit 0accb30

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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)