This commit is contained in:
Heidi
2026-05-14 15:43:32 +01:00
parent 450af53370
commit c02a56cafa
16 changed files with 5297 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
host: '0.0.0.0',
port: 3001,
proxy: {
'/api': {
target: process.env.VITE_API_TARGET ?? 'http://localhost:6000',
changeOrigin: true,
},
'/health': {
target: process.env.VITE_API_TARGET ?? 'http://localhost:6000',
changeOrigin: true,
},
},
},
})