configurado back para estar expuesto en el mismo endpoint que el front
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user