configurado back para estar expuesto en el mismo endpoint que el front

This commit is contained in:
2025-08-28 19:51:57 -03:00
parent 5488cab691
commit a6e3564779
2 changed files with 9 additions and 4 deletions

View File

@@ -3,5 +3,10 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react()],
server: {
proxy:{
"/api": "http://localhost:8080"
}
}
})