UNPKG

create-cloudflare

Version:

A CLI for creating and deploying new applications to Cloudflare.

16 lines (14 loc) 431 B
/** * Welcome to Cloudflare Workers! This is your first worker. * * - Run `npm run dev` in your terminal to start a development server * - Open a browser tab at http://localhost:8787/ to see your worker in action * - Run `npm run deploy` to publish your worker * * Learn more at https://developers.cloudflare.com/workers/ */ export default { async fetch(request, env, ctx) { return new Response('Hello World!'); }, };