Skip to content
Snippets Groups Projects
Commit e95d4b13 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Fix console debug message

parent 6b10a25c
No related branches found
No related tags found
No related merge requests found
...@@ -58,10 +58,11 @@ function Ws2pMessage(message) { ...@@ -58,10 +58,11 @@ function Ws2pMessage(message) {
} }
// For DEBUG only: // For DEBUG only:
/*
console.log('[http] private {0}, public {1}'.format( console.log('[http] private {0}, public {1}'.format(
(that.private.useTor ? 'TOR ' : '' ) + (that.private.mode || 'false'), (that.private && (that.private.useTor ? 'TOR ' : '' ) + (that.private.mode || 'false')) || 'false',
(that.public.useTor ? 'TOR ' : '' ) + (that.public.mode || 'false') that.public && ((that.public.useTor ? 'TOR ' : '' ) + (that.public.mode || 'false')) || 'false'
), prefix); ), prefix);*/
} }
that.pubkey=parts[3]; that.pubkey=parts[3];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment