From 3e6b04e4c6b620e981f23876f282ea2933dc9482 Mon Sep 17 00:00:00 2001 From: Leo Balter <301201+leobalter@users.noreply.github.com> Date: Tue, 20 May 2025 10:35:24 -0700 Subject: [PATCH] Restore an old link from policies using redirect The logos and usage policies page pretty much have contents from the [trademark page](https://web.archive.org/web/20220315191357/https://docs.npmjs.com/policies/trademark) that moved back in 2022/2023. As the previous link is still around, this redirect should function better than a 404. --- cli/lib/redirects.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/lib/redirects.js b/cli/lib/redirects.js index 489a1e1029a..9bec431b0bd 100644 --- a/cli/lib/redirects.js +++ b/cli/lib/redirects.js @@ -60,4 +60,7 @@ module.exports = { 'using-npm/scope': ({section}) => [join(section, 'npm-scope')], 'about-pgp-signatures-for-packages-in-the-public-registry': () => ['/about-registry-signatures'], 'verifying-the-pgp-signature-for-a-package-from-the-npm-public-registry': () => ['/verifying-registry-signatures'], + + // policies + 'policies/trademark': () => ['policies/logos-and-usage'], }