Update API target in vite.config.mts for local dev no containers
Taylor committed
Feb 12, 2024 at 09:39 UTC
f3ad6214b6b661d60fd208a123f0a5328d355e8f
1 file changed
+1
frontend/vite.config.mts
+1
@@ -44,6 +44,7 @@ export default defineConfig({
44
proxy: {
45
"/api": {
46
target: "http://copilot-backend:5000",
47
+ //target: "http://127.0.0.1:5000", // for local development
48
changeOrigin: true
49
}
50
}