rustjack/frontend/vite.config.ts
2024-05-24 17:43:35 +02:00

13 lines
251 B
TypeScript

import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
server: {
proxy: {
"/api" : "http://127.0.0.1:8000"
}
}
})