Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushdharkar authored Sep 26, 2024
1 parent c41fe8f commit a97ee49
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ router.post("/profile/blocked", sendProfileBlockedMessage);

router.post("/task/update", sendTaskUpdatesHandler);

router.get("/ankush", async (request, env, ctx: ExecutionContext) => {
ctx.waitUntil(send(env));

return new JSONResponse(`CURRENT_ENVIRONMENT: ${env.CURRENT_ENVIRONMENT}`, { status: 200 });
});


router.post("/", async (request, env, ctx: ExecutionContext) => {
const message: discordMessageRequest = await request.json();

Expand Down

0 comments on commit a97ee49

Please sign in to comment.