diff --git a/front/src/App.svelte b/front/src/App.svelte index 75afb04..247524c 100644 --- a/front/src/App.svelte +++ b/front/src/App.svelte @@ -18,22 +18,7 @@ -

Documentation

-

Your questions, answered

- +

Hecho por: Fedep

FOSS

diff --git a/front/vite.config.js b/front/vite.config.js index d32eba1..cf1ccfc 100644 --- a/front/vite.config.js +++ b/front/vite.config.js @@ -1,7 +1,17 @@ -import { defineConfig } from 'vite' -import { svelte } from '@sveltejs/vite-plugin-svelte' +import { defineConfig } from "vite"; +import { svelte } from "@sveltejs/vite-plugin-svelte"; // https://vite.dev/config/ export default defineConfig({ plugins: [svelte()], -}) + server: { + proxy: { + "/url": { + target: "http://localhost:3000", + changeOrigin: true, + secure: false, + rewrite: (path) => path.replace(/^\/url/, ""), + }, + }, + }, +});