0.1.0 • Published 9 months ago

404-redirector v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

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"
}
0.1.0

9 months ago