The site uses Cloudflare Workers to redirect visitors to CodeSandbox.
See redirect.md for the redirect setup.
yarn start
Then open http://localhost:5000
.
You'll probably only be redirected to github.com anyways, since that is all `index.html' does.
To edit the worker, open workers-site/index.js
.
The workers-site
directory contains the Cloudflare worker.
You need to install wrangler globally.
yarn pub
Then check https://githubbox.dferber.workers.dev/
yarn pub:prod
Then check https://githubbox.com
All these forms of URLs are supported.
- main githubbox.com/zeit/ms
- branch githubbox.com/zeit/ms/tree/master
- tree githubbox.com/zeit/ms/tree/2.1.1
- commit githubbox.com/zeit/ms/tree/7920885eb232fbe7a5efdab956d3e7c507c92ddf
- branch with file githubbox.com/zeit/ms/blob/master/package.json
- tree with file githubbox.com/zeit/ms/blob/2.0.0/index.js
- commit with file githubbox.com/zeit/ms/blob/adf1eb282d29fe3c405d205a3854177b86a97c1f/index.js