initial commit

This commit is contained in:
Yusur 2025-09-12 19:20:30 +02:00
commit 155aa524f3
48 changed files with 3943 additions and 0 deletions

30
vite.config.ts Normal file
View file

@ -0,0 +1,30 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { configDotenv } from 'dotenv';
configDotenv();
export default defineConfig({
plugins: [sveltekit()],
server: {
port: +(process.env.PORT || 5173),
proxy: {
'/v1/': {
target: process.env.BACKEND_URL,
xfwd: true,
changeOrigin: true,
ws: true
},
'/admin/': {
target: process.env.BACKEND_URL,
changeOrigin: true,
xfwd: true
},
'/report/': {
target: process.env.BACKEND_URL,
changeOrigin: true,
xfwd: true
},
}
}
});