mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
4c60cdce9c
refs https://github.com/TryGhost/Toolbox/issues/515 - The link redirect handled was querying database on every single frontend request causing a significant amount of unnecessary traffic - The optimization is returning early if the incoming URL does not start with a common "r/" prefix |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Link Redirects
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests