begin integrating frontend and backend

This commit is contained in:
2025-12-26 22:35:53 -06:00
parent 80733193a2
commit c5e8faf9ed
6 changed files with 29 additions and 5 deletions
+11 -1
View File
@@ -12,4 +12,14 @@ export default defineConfig({
},
})
],
})
// DEV PROXY
server: {
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}
}
}
});