Commit 0ddacb20a4e97867127a5d2c434487e8357d3cc9
1 parent
cd1c039b08
Exists in
master
perbaikan deteksi https
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/partner.js
... | ... | @@ -28,7 +28,7 @@ function createXmlRpcClient(endpoint) { |
28 | 28 | |
29 | 29 | logger.verbose('Creating XML-RPC client using ' + partnerUrl.protocol, clientOptions); |
30 | 30 | |
31 | - return (partnerUrl.protocol === 'https') ? xmlrpc.createSecureClient(clientOptions) : xmlrpc.createClient(clientOptions); | |
31 | + return (partnerUrl.protocol === 'https:') ? xmlrpc.createSecureClient(clientOptions) : xmlrpc.createClient(clientOptions); | |
32 | 32 | } |
33 | 33 | |
34 | 34 | function buy(task) { |