añadido proxy y autor
This commit is contained in:
@@ -18,22 +18,7 @@
|
|||||||
<!-- <svg class="icon" role="presentation" aria-hidden="true">
|
<!-- <svg class="icon" role="presentation" aria-hidden="true">
|
||||||
<use href="/icons.svg#documentation-icon"></use>
|
<use href="/icons.svg#documentation-icon"></use>
|
||||||
</svg> -->
|
</svg> -->
|
||||||
<h2>Documentation</h2>
|
<h2>Hecho por: Fedep</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>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="social">
|
<div id="social">
|
||||||
<h2>FOSS</h2>
|
<h2>FOSS</h2>
|
||||||
|
|||||||
@@ -1,7 +1,17 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from "vite";
|
||||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||||||
|
|
||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [svelte()],
|
plugins: [svelte()],
|
||||||
})
|
server: {
|
||||||
|
proxy: {
|
||||||
|
"/url": {
|
||||||
|
target: "http://localhost:3000",
|
||||||
|
changeOrigin: true,
|
||||||
|
secure: false,
|
||||||
|
rewrite: (path) => path.replace(/^\/url/, ""),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user