Initial commit (by create-cloudflare CLI)

Details:
  C3 = create-cloudflare@2.23.0
  project name = get-pnpm
  package manager = pnpm@9.7.0
  wrangler = wrangler@3.68.0
  git = 2.43.0
This commit is contained in:
严浩
2024-08-10 13:38:05 +08:00
commit b796f01443
10 changed files with 1147 additions and 0 deletions

16
src/worker.js Normal file
View File

@ -0,0 +1,16 @@
/**
* 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!');
},
};