mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
The default worker is published to workers.dev, but fetching that hostname as the origin returns Cloudflare's placeholder page. Redirect the raw workers.dev host to doesitarm.com while keeping the existing pass-through behavior for routed custom hosts. Constraint: workers.dev has no real site origin behind the default worker Rejected: Proxy workers.dev through doesitarm.com | redirect is simpler and avoids presenting duplicate public hosts Confidence: high Scope-risk: narrow Directive: Keep this redirect host-specific so custom-domain worker routes can continue pass-through behavior Tested: npm --prefix doesitarm-default run build Not-tested: Post-deploy live redirect, pending GitHub Actions deployment |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| .prettierrc | ||
| CODE_OF_CONDUCT.md | ||
| LICENSE_APACHE | ||
| LICENSE_MIT | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
👷 worker-template Hello World
A template for kick starting a Cloudflare worker project.
index.js is the content of the Workers script.
Wrangler
To generate using wrangler
wrangler generate projectname https://github.com/cloudflare/worker-template
Further documentation for Wrangler can be found here.