add README.md

This commit is contained in:
js0ny 2025-12-06 10:07:31 +00:00
parent 82a78da81b
commit 439162ce22
3 changed files with 35 additions and 7 deletions

View file

@ -1,9 +1,18 @@
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
export default {
export default defineConfig({
plugins: [svelte()],
server: {
port: 4173,
strictPort: true
}
};
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
},
'/snapshot': {
target: 'http://localhost:3000',
changeOrigin: true,
},
},
},
});