This commit is contained in:
2025-10-02 12:55:40 +02:00
parent 8317094a4c
commit 297dbc2ae5
15 changed files with 1184 additions and 499 deletions

View File

@@ -1,10 +1,19 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
optimizeDeps: {
exclude: ['lucide-react'],
},
});
plugins: [react()],
server: {
host: true,
port: 3002,
strictPort: true,
allowedHosts: ['mygtf-rh.ensup-adm.net'],
proxy: {
'/api': {
target: 'http://backend:3000',
changeOrigin: true,
secure: false
}
}
}
})