Skip to content

Commit 3054b5b

Browse files
authored
Merge pull request #22416 from github/repo-sync
repo sync
2 parents 71290a7 + 5e68907 commit 3054b5b

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)