Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add events "endpoint"
  • Loading branch information
regalijan committed Oct 26, 2023
1 parent d491c3b commit 559767b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions/api/events.ts
@@ -0,0 +1,3 @@
export async function onRequestGet(context: RequestContext) {
return (await context.env.DATA.get("game_updates", { type: "json" })) ?? [];
}

0 comments on commit 559767b

Please sign in to comment.