Tor middleware #499

Merged
bones7242 merged 16 commits from tor-middleware into master 2018-06-29 02:59:56 +02:00
Showing only changes of commit faf7f5702b - Show all commits

View file

@ -37,7 +37,7 @@ const claimPublish = ({ body, files, headers, ip, originalUrl, user, tor }, res)
success: 'false',
message: 'Unfortunately this api route is not currently available for tor users. We are working on a solution that will allow tor users to use this endpoint in the future.',
};
return res.status(400).json(failureResponse);
return res.status(403).json(failureResponse);
}
// define variables