Разработка админ-панели EventHubFrontAdmin v1.0 #1

This commit is contained in:
2026-05-23 20:43:21 +03:00
parent 36c95b71a4
commit f5961c5529
68 changed files with 10374 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/v1': {
target: 'https://admin-api.eventhub.local',
changeOrigin: true,
secure: false,
},
'/admin/ws': {
target: 'wss://admin-ws.eventhub.local',
ws: true,
changeOrigin: true,
secure: false,
},
},
},
});