data/edge5/video/v2/+

This commit is contained in:
2026-07-04 17:26:30 +05:00
parent f61fd87bac
commit e0437edf18
5 changed files with 88 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
import { getHandler } from './registry.js'
import { resolveHandler } from './registry.js'
export async function routeMessage(
topic: string,
payload: Buffer,
): Promise<void> {
const handler = getHandler(topic)
const handler = resolveHandler(topic)
if (!handler) {
console.warn('mqtt.unhandled_topic', { topic })