Skip to content

Commit

Permalink
Use HTTPS for AMFPHP requests
Browse files Browse the repository at this point in the history
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: baalexander/node-xmlrpc#142
  • Loading branch information
matchu committed Aug 3, 2022
1 parent bd90177 commit b9ba650
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/types/Pet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9ba650

Please sign in to comment.