@carnesen/redirector

A Node.js web server that redirects e.g. example.com to www.example.com

Usage no npm install needed!

<script type="module">
  import carnesenRedirector from 'https://cdn.skypack.dev/@carnesen/redirector';
</script>

README

@carnesen/redirector

A Node.js web server that redirects e.g. example.com to www.example.com

build status badge npm version badge github stars badge

This service is deployed at https://carnesen.com. It's not easy to see in a browser (especially Google Chrome) because they often don't display the leading "www" on the URL. In a terminal though do:

curl -v https://carnesen.com

and notice the 301 redirect response to www.

Usage

This package gets deployed by @carnesen/google-cloud as the default Google App Engine service.

Related

License

MIT © Chris Arnesen