404-redirector
v0.1.0
Published
A simple 404 redirect handler for Node.js
Readme
404 Redirector
This package allows you to handle 404 redirects based on user-defined shortened links.
Setup
After installing the package, a folder 404redirect will be created in the root of your project. Inside this folder, you'll find an empty file called cnames_active.json.
To configure your redirects, add entries to the cnames_active.json file like this:
{
"github": "github.com/yourusername",
"twitter": "twitter.com/yourusername",
"blog": "yourblog.com"
}