This example demonstrates how to serve static files using Cloudflare Workers. Please learn more in the Hono documentation and Cloudflare Workers documentation.
Before you can start publishing your service to cloudflare worker, you must sign up for a Cloudflare Workers account first, you can check out this document
You can update the information (name
, zone_id
, etc) in wrangler file, then you can test and deploy your service by simply doing,
npm install
npm run dev # Start a local server for developing your worker
npm run deploy # Publish your worker to the orange cloud