Ghost/ghost/express-dynamic-redirects
Naz 0daed36366 Added external URL coverage to DynamiRedirectsManager suites
refs https://github.com/TryGhost/Toolbox/issues/139

- These unit tests come directly from equivalent regression tests in Ghost repository - fedbfb3c67/test/regression/site/redirects.test.js
- This changeset covers redirects to external URLs
2021-11-29 17:20:45 +04:00
..
lib Made options parameter optional 2021-11-29 16:08:03 +04:00
test Added external URL coverage to DynamiRedirectsManager suites 2021-11-29 17:20:45 +04:00
.eslintrc.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
index.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
LICENSE Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
package.json Published new versions 2021-10-21 15:44:21 +02:00
README.md Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00

Express Dynamic Redirects

Install

npm install @tryghost/express-dynamic-redirects --save

or

yarn add @tryghost/express-dynamic-redirects

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests