Skip to content

Commit 5e68907

Browse files
authored
Revert "Add temporary endpoint to check language headers (#33154)" (#33159)
1 parent b7d6ee0 commit 5e68907

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

middleware/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,6 @@ export default function (app) {
234234
app.get('/_ip', instrument(remoteIP, './remoteIP'))
235235
app.get('/_build', instrument(buildInfo, './buildInfo'))
236236

237-
// TEMPORARY towards 33028
238-
app.get('/headers.json', (req, res) => {
239-
res.set('cache-control', 'private, no-store').json({
240-
'accept-language': req.get('accept-language'),
241-
'x-user-language': req.get('x-user-language'),
242-
})
243-
})
244-
245237
// Check for a dropped connection before proceeding (again)
246238
app.use(haltOnDroppedConnection)
247239

0 commit comments

Comments
 (0)