mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-23 00:21:28 +00:00
6 lines
237 B
TypeScript
6 lines
237 B
TypeScript
import { handleTelegramWebhookRequest } from "../../lib/drivers/telegram/updates";
|
|
import { cfEnv } from "../../lib/cf";
|
|
|
|
export default defineEventHandler((event) =>
|
|
handleTelegramWebhookRequest(event.web!.request!, cfEnv(event)),
|
|
);
|