diff options
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/app/api/telegram/route.ts | 4 | ||||
| -rw-r--r-- | apps/web/wrangler.toml | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/apps/web/app/api/telegram/route.ts b/apps/web/app/api/telegram/route.ts index 59177c4e..000b473a 100644 --- a/apps/web/app/api/telegram/route.ts +++ b/apps/web/app/api/telegram/route.ts @@ -107,3 +107,7 @@ bot.on("message", async (ctx) => { }); export const POST = webhookCallback(bot, "std/http"); + +export const GET = async () => { + return new Response("OK", { status: 200 }); +}; diff --git a/apps/web/wrangler.toml b/apps/web/wrangler.toml index da9cd616..a2ac88d0 100644 --- a/apps/web/wrangler.toml +++ b/apps/web/wrangler.toml @@ -14,8 +14,8 @@ bucket_name = "dev-r2-anycontext" [[d1_databases]] binding = "DATABASE" -# database_name = "prod-d1-supermemory" -# database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395" +database_name = "prod-d1-supermemory" +database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395" -database_name = "dev-d1-anycontext" -database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c"
\ No newline at end of file +# database_name = "dev-d1-anycontext" +# database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c"
\ No newline at end of file |