add project files

This commit is contained in:
2026-06-26 14:50:55 +02:00
parent f2d0cd6a14
commit 811dc6b848
55770 changed files with 7418342 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
import { defineConfig } from 'vite'
export default defineConfig({
server: {
host: '0.0.0.0',
port: 3001,
allowedHosts: [
'localhost',
'127.0.0.1',
'mygtf.ensup-adm.net', // ✅ ton domaine ajouté ici
],
proxy: {
'/api': {
target: 'http://backend:3000', // ✅ si tu es en Docker
changeOrigin: true,
secure: false,
},
},
},
})