1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Починка adm8222222

This commit is contained in:
MoonTestUse1
2025-01-01 21:59:52 +06:00
parent ea769d192d
commit c4b8ec5cb1
2 changed files with 9 additions and 1 deletions

View File

@@ -10,9 +10,14 @@ export default defineConfig({
}
},
server: {
host: true, // Важно для Docker
port: 5173, // Стандартный порт Vite
watch: {
usePolling: true // Важно для Docker на Windows/MacOS
},
proxy: {
'/api': {
target: 'http://localhost:8000',
target: 'http://backend:8000',
changeOrigin: true
}
}