frontend part

This commit is contained in:
2026-09-22 15:21:18 +03:00
parent 8d31078e3d
commit 608e7ce0f0
18 changed files with 1545 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
// Every backend route lives under one of these two prefixes
// (see src/web/protected_routes/). Proxying keeps the browser
// on one origin in dev, so no CORS setup is needed here.
'/protected': 'http://localhost:8000',
'/user': 'http://localhost:8000',
},
},
})