Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Update update.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
PonomareVlad authored Oct 15, 2024
1 parent 87947ca commit 67df2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/update.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {bot, secretToken} from "../src/bot.mjs";
import {webhookStream} from "vercel-grammy";

export const config = {runtime: "edge"};
// export const config = {runtime: "edge"};

// Custom grammY handler for incoming updates via webhooks with streaming response
export const POST = webhookStream(bot, {
Expand Down

0 comments on commit 67df2be

Please sign in to comment.