feat: terminada funcionalidad

actualmente funciona en dev falta cocinar deploy
This commit is contained in:
2026-03-17 11:18:22 -03:00
parent 5906cae45e
commit 68ce52f7c8
7 changed files with 87 additions and 12 deletions

View File

@@ -6,11 +6,11 @@ export default defineConfig({
plugins: [svelte()],
server: {
proxy: {
"/url": {
target: "http://localhost:3000",
"/short/": {
target: "http://localhost:8080",
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/url/, ""),
rewrite: (path) => path.replace(/^\/short/, ""),
},
},
},