added logging
This commit is contained in:
parent
a46b157fe1
commit
f5e01840e3
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ const claimPublish = ({ body, files, headers, ip, originalUrl, user, tor }, res)
|
||||||
// check for tor
|
// check for tor
|
||||||
logger.debug('tor:', tor);
|
logger.debug('tor:', tor);
|
||||||
if (tor) {
|
if (tor) {
|
||||||
|
logger.info('Tor publish request blocked:', ip);
|
||||||
const failureResponse = {
|
const failureResponse = {
|
||||||
success: 'false',
|
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.',
|
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.',
|
||||||
|
|
Loading…
Reference in a new issue