From 52fc779abd26210126b62dd1386117a7be7ba872 Mon Sep 17 00:00:00 2001 From: fede Date: Sun, 14 Jun 2026 02:24:53 -0300 Subject: [PATCH] fix: correjidas reglas del proxy --- front/vite.config.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/front/vite.config.ts b/front/vite.config.ts index e718696..72e2890 100644 --- a/front/vite.config.ts +++ b/front/vite.config.ts @@ -7,9 +7,8 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://localhost:8080', - changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, '') + target: 'http://localhost:80', + changeOrigin: true } } }