Ghost/ghost/member-attribution
Chris Raible ec966ac3c3
Added www.federalreserve.gov to the blockedReferrerDomains list (#16511)
refs TryGhost/Team#2742

- The federal reserve's website returns a 404 for any URLs that include
query params, so our member attribution/outbound link tagging was
breaking any links to the federal reserve's website
- This adds the federal reserve's website to the list of blocked domains
so that we don't append ?ref= to any links to the federal reserve's
website
2023-03-27 20:30:35 -07:00
..
lib Added www.federalreserve.gov to the blockedReferrerDomains list (#16511) 2023-03-27 20:30:35 -07:00
test Fixed incorrect newsletter ref for internal links 2023-03-17 20:55:52 +05:30
.eslintrc.js
index.js
package.json Update Test & linting packages 2023-03-13 02:36:20 +00:00
README.md

Member Attribution

Usage

Develop

This is a monorepo package.

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.

Test

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