feat: setup dataset enrichment app codebase and scripts

This commit is contained in:
asus committed 2026-08-05 11:52:27 +07:00
1 parent b5c28cc98a
commit d07578462e
72 files changed
+11370

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// In dev the SPA runs on 5173 and the API on 8000; this proxy keeps every fetch
// same-origin, so the code is identical to how nginx serves it in Docker.
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': {
target: process.env.API_URL || 'http://localhost:8000',
changeOrigin: true,
},
},
},
})