https://github.com/carnesen/redirector
A Node.js http server that redirects e.g. example.com to www.example.com
https://github.com/carnesen/redirector
301 carnesen koa nodejs typescript www
Last synced: about 2 months ago
JSON representation
A Node.js http server that redirects e.g. example.com to www.example.com
- Host: GitHub
- URL: https://github.com/carnesen/redirector
- Owner: carnesen
- License: mit
- Created: 2017-05-02T00:58:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T23:28:44.000Z (over 4 years ago)
- Last Synced: 2025-02-16T17:29:05.362Z (over 1 year ago)
- Topics: 301, carnesen, koa, nodejs, typescript, www
- Language: TypeScript
- Homepage: http://carnesen.com
- Size: 347 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license.md
Awesome Lists containing this project
README
A Node.js web server that redirects e.g. example.com to www.example.com
[](https://github.com/carnesen/redirector/actions?query=workflow%3Atest+branch%3Amaster) [](https://www.npmjs.com/package/@carnesen/redirector) [](https://github.com/carnesen/redirector)
This service is deployed at [https://carnesen.com](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**](https://github.com/carnesen/google-cloud#usage) as the default Google App Engine service.
## Related
- [@carnesen/carnesen-dot-com](https://github.com/carnesen/carnesen-dot-com): Automates deployment of carnesen.com to Google Cloud Platform
## License
MIT © [Chris Arnesen](https://www.carnesen.com)