Deploy.
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Welcome to Cloudflare Workers! This is your first worker.
|
||||
*
|
||||
* - Run `npx wrangler dev src/index.js` in your terminal to start a development server
|
||||
* - Open a browser tab at http://localhost:8787/ to see your worker in action
|
||||
* - Run `npx wrangler publish src/index.js --name my-worker` 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