añadido proxy y autor

This commit is contained in:
2026-03-16 20:46:56 -03:00
parent e33faa687d
commit 5906cae45e
2 changed files with 14 additions and 19 deletions

View File

@@ -18,22 +18,7 @@
<!-- <svg class="icon" role="presentation" aria-hidden="true">
<use href="/icons.svg#documentation-icon"></use>
</svg> -->
<h2>Documentation</h2>
<p>Your questions, answered</p>
<ul>
<li>
<a href="https://vite.dev/" target="_blank" rel="noreferrer">
<img class="logo" src={viteLogo} alt="" />
Explore Vite
</a>
</li>
<li>
<a href="https://svelte.dev/" target="_blank" rel="noreferrer">
<img class="button-icon" src={svelteLogo} alt="" />
Learn more
</a>
</li>
</ul>
<h2>Hecho por: Fedep</h2>
</div>
<div id="social">
<h2>FOSS</h2>

View File

@@ -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/, ""),
},
},
},
});