feat: healthcheck backend and fix data types
also small various features
This commit is contained in:
@@ -11,9 +11,10 @@ export default defineNuxtConfig({
|
||||
|
||||
// Проксируем только маршруты Go бэкенда (не трогаем /api/_nuxt_icon и др. внутренние)
|
||||
routeRules: {
|
||||
'/api/alerts/**': { proxy: 'http://localhost:8080/api/alerts/**' },
|
||||
'/api/alerts': { proxy: 'http://localhost:8080/api/alerts' },
|
||||
'/api/stats/**': { proxy: 'http://localhost:8080/api/stats/**' },
|
||||
'/api/health': { proxy: 'http://localhost:8080/api/health' },
|
||||
'/api/alerts/**': { proxy: 'http://localhost:8080/api/alerts/**' },
|
||||
'/api/alerts': { proxy: 'http://localhost:8080/api/alerts' },
|
||||
'/api/stats/**': { proxy: 'http://localhost:8080/api/stats/**' },
|
||||
'/api/capture/**': { proxy: 'http://localhost:8080/api/capture/**' },
|
||||
'/api/reports/**': { proxy: 'http://localhost:8080/api/reports/**' },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user