set 'Cache-Control: private' on token auth endpoint (#5998)
This commit is contained in:
@@ -24,6 +24,7 @@ function setRoutes({ shieldsSecret }, { apiProvider, server }) {
|
||||
end('Invalid secret.')
|
||||
}, 10000)
|
||||
}
|
||||
ask.res.setHeader('Cache-Control', 'private')
|
||||
end(apiProvider.serializeDebugInfo({ sanitize: false }))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user