Skip to content

Cloudflare Worker for redirecting from wasp-lang.dev to wasp.sh

Notifications You must be signed in to change notification settings

wasp-lang/wasp-sh-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirect Cloudflare Worker

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

Running it locally

  1. npm install
  2. npm run dev

Edit the worker.js file and test it out locally on localhost:8787.

Deploying

  1. Login with wrangler login into the Wasp Cloudflare account
  2. npm run deploy

About

Cloudflare Worker for redirecting from wasp-lang.dev to wasp.sh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published