Major refactor

This commit is contained in:
2026-04-03 23:04:51 -04:00
parent e7f337c735
commit 35d07e8df1
124 changed files with 4929 additions and 2429 deletions

22
ui/vite.config.ts Normal file
View File

@@ -0,0 +1,22 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
// Proxy REST calls and WebSocket upgrades to the Axum backend
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
ws: true,
},
},
allowedHosts: ['localhost', '127.0.0.1', 'sirensong.app', 'inartificial-fishier-ngoc.ngrok-free.dev'],
},
build: {
outDir: 'dist',
},
});