Skip to content

Commit

Permalink
update index.js functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kresnasatya committed Dec 27, 2024
1 parent f096beb commit 7d9ef28
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions functions/api/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export default {
async fetch(request, env, ctx) {
return new Response('Hello from Cloudflare!');
}
export function onRequest(context) {
return new Response("Hello World");
}

0 comments on commit 7d9ef28

Please sign in to comment.