Use HTTPS for AMFPHP requests
This was a bit trickier to figure out how to upgrade, it's not in the `xmlrpc` package's README, but I found the answer here: https://github.com/baalexander/node-xmlrpc/issues/142
This commit is contained in:
parent
bd9017796e
commit
b9ba650992
1 changed files with 1 additions and 2 deletions
|
@ -141,9 +141,8 @@ const resolvers = {
|
|||
},
|
||||
};
|
||||
|
||||
const neopetsXmlrpcClient = xmlrpc.createClient({
|
||||
const neopetsXmlrpcClient = xmlrpc.createSecureClient({
|
||||
host: "www.neopets.com",
|
||||
port: 80,
|
||||
path: "/amfphp/xmlrpc.php",
|
||||
});
|
||||
const neopetsXmlrpcCall = util
|
||||
|
|
Loading…
Reference in a new issue