This is a repo with a simple Cloudflare Worker that redirects all requests to a single URL. It is used to redirect the wasp-lang.dev
domain to the wasp.sh
domain.
Make sure you have Wrangler (Cloudflare dev tools) installed globaly.
npm install -g wrangler
npm install
npm run dev
Edit the worker.js
file and test it out locally on localhost:8787
.
- Login with
wrangler login
into the Wasp Cloudflare account npm run deploy