Initial commit (by create-cloudflare CLI)
Details: C3 = create-cloudflare@2.50.3 project name = real-us-address-generator-api package manager = pnpm@10.13.1 wrangler = wrangler@4.24.0 git = 2.39.5 (Apple Git-154)
This commit is contained in:
15
src/index.js
Normal file
15
src/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 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!');
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user