add bridge endpoint dummy

This commit is contained in:
itsrubberduck
2025-09-20 21:36:49 +02:00
parent c6106040ed
commit 536b95d810

View File

@@ -0,0 +1,12 @@
import { defineEventHandler, readBody } from 'h3'
export default defineEventHandler(async (event) => {
// Body einlesen
const body = await readBody(event)
// Alles in der Server-Konsole ausgeben
console.log('MSFS Telemetry:', body)
// Leere 204-Antwort zurückgeben
event.node.res.statusCode = 204
})