Fix 1540
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// frontend/vite.config.ts
|
||||
// Elecciones-Web/frontend/vite.config.ts
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
@@ -6,12 +6,12 @@ export default defineConfig({
|
||||
plugins: [react()],
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
manifest: true, // ¡Crucial! Le dice a Vite que genere el manifest.json
|
||||
manifest: 'manifest.json',
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:5217', // Ajuste el puerto si es diferente
|
||||
target: 'http://localhost:5217',
|
||||
changeOrigin: true,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user