set 'Cache-Control: private' on token auth endpoint (#5998)

This commit is contained in:
chris48s
2020-12-30 19:59:39 +00:00
committed by GitHub
parent ccdc803eea
commit e7ed16284a

View File

@@ -24,6 +24,7 @@ function setRoutes({ shieldsSecret }, { apiProvider, server }) {
end('Invalid secret.')
}, 10000)
}
ask.res.setHeader('Cache-Control', 'private')
end(apiProvider.serializeDebugInfo({ sanitize: false }))
})
}