Skip to content

Commit 2be0c5e

Browse files
authoredFeb 1, 2022
Remove help-to-docs redirect; it's handled by fastly now (github#24870)
1 parent 6cdd179 commit 2be0c5e

File tree

3 files changed

+0
-121
lines changed

3 files changed

+0
-121
lines changed
 

‎middleware/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import detectLanguage from './detect-language.js'
2929
import context from './context.js'
3030
import shortVersions from './contextualizers/short-versions.js'
3131
import redirectsExternal from './redirects/external.js'
32-
import helpToDocs from './redirects/help-to-docs.js'
3332
import languageCodeRedirects from './redirects/language-code-redirects.js'
3433
import handleRedirects from './redirects/handle-redirects.js'
3534
import findPage from './find-page.js'
@@ -177,7 +176,6 @@ export default function (app) {
177176
// I ordered these by use frequency
178177
app.use(connectSlashes(false))
179178
app.use(instrument(redirectsExternal, './redirects/external'))
180-
app.use(instrument(helpToDocs, './redirects/help-to-docs'))
181179
app.use(instrument(languageCodeRedirects, './redirects/language-code-redirects')) // Must come before contextualizers
182180
app.use(instrument(handleRedirects, './redirects/handle-redirects')) // Must come before contextualizers
183181

‎middleware/redirects/help-to-docs.js

-18
This file was deleted.

‎tests/routing/middleware/redirects/help-to-docs.js

-101
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.