import { probeCommissionSystem } from '../../utils/commissionSystemStatus' /** * Reachability of the commission system (the marketplace-confirmation backend) * for the commission-page indicator. Deliberately NOT the handleFunc/refreshToken * pattern — no iDempiere call and no user token is involved. The probe result is * hysteresis-filtered server-side (see commissionSystemStatus.ts), so a short * blip never reports offline. */ export default defineEventHandler(async () => { return await probeCommissionSystem() })