api monitors

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-15 11:31:49 +00:00
parent 069e0a24d8
commit 133d63813a
14 changed files with 613 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ import {
Sector,
} from '../../services/api';
import Badge from '../../components/ui/badge/Badge';
import ApiStatusMonitor from '../../components/debug/ApiStatusMonitor';
// Site Icon SVG
const SiteIcon = () => (
@@ -591,6 +592,16 @@ export default function Sites() {
/>
)}
</div>
{/* API Status Monitor - Only shows when debug toggle is enabled */}
<ApiStatusMonitor
title="Auth"
endpoints={[
{ name: 'List Sites', method: 'GET', endpoint: '/v1/auth/sites/' },
{ name: 'Get Industries', method: 'GET', endpoint: '/v1/auth/industries/' },
{ name: 'Get Seed Keywords', method: 'GET', endpoint: '/v1/auth/seed-keywords/' },
]}
/>
</>
);
}