Add events "endpoint"
This commit is contained in:
parent
d491c3b453
commit
559767b681
3
functions/api/events.ts
Normal file
3
functions/api/events.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export async function onRequestGet(context: RequestContext) {
|
||||||
|
return (await context.env.DATA.get("game_updates", { type: "json" })) ?? [];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user