2025-10-24 12:02:17 +03:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
server: {
|
|
|
|
|
host: '0.0.0.0',
|
2025-10-27 19:37:41 +03:00
|
|
|
port: 3000,
|
2025-10-24 12:02:17 +03:00
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
2025-11-14 19:06:36 +03:00
|
|
|
target: 'http://host.docker.internal:8200',
|
2025-10-27 19:37:41 +03:00
|
|
|
changeOrigin: true
|
|
|
|
|
},
|
|
|
|
|
'/events': {
|
2025-11-14 19:06:36 +03:00
|
|
|
target: 'http://host.docker.internal:8200',
|
2025-10-24 12:02:17 +03:00
|
|
|
changeOrigin: true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
2025-10-24 16:19:58 +03:00
|
|
|
|