Login resuelto

This commit is contained in:
2026-02-27 09:16:08 -07:00
parent c146a6c3c3
commit 63925fe305
8 changed files with 109 additions and 11 deletions

View File

@@ -10,6 +10,16 @@ export default defineConfig({
usePolling: true,
interval: 500
},
// HMR: el browser llega al contenedor en el mismo puerto 3000
hmr: {
host: 'localhost',
clientPort: parseInt(process.env.HMR_CLIENT_PORT || '3000')
},
// Permitir que Vite sirva archivos del filesystem del contenedor
fs: {
allow: ['/app', '.'],
strict: false
},
proxy: {
'/api': {
target: process.env.PUBLIC_API_URL || 'http://localhost:8000',