Authored by 郝肖肖

'risk-403-nocache'

... ... @@ -67,6 +67,11 @@ module.exports = () => {
if (inter > router.requests) {
if (req.xhr) {
res.set({
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expires: (new Date(1900, 0, 1, 0, 0, 0, 0)).toUTCString()
});
return res.status(403).json({
code: 4403,
date: {url: checkUrl},
... ...