fix: correjidas reglas del proxy

This commit is contained in:
fede committed 2026-06-14 02:24:53 -03:00
1 parent 8464a0fd1d
commit 52fc779abd
1 file changed
+2 -3
+2 -3
View File
@@ -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
}
}
}