feat: terminada funcionalidad
actualmente funciona en dev falta cocinar deploy
This commit is contained in:
@@ -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/, ""),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user