Merge pull request #464 from simonbengtsson/master

Don't use https://api.parse.com/1 as default serverURL
This commit is contained in:
Fosco Marotto
2016-02-19 12:01:48 -08:00

View File

@@ -116,9 +116,7 @@ function ParseServer(args) {
// Initialize the node client SDK automatically // Initialize the node client SDK automatically
Parse.initialize(args.appId, args.javascriptKey || '', args.masterKey); Parse.initialize(args.appId, args.javascriptKey || '', args.masterKey);
if(args.serverURL) { Parse.serverURL = args.serverURL || '';
Parse.serverURL = args.serverURL;
}
// This app serves the Parse API directly. // This app serves the Parse API directly.
// It's the equivalent of https://api.parse.com/1 in the hosted Parse API. // It's the equivalent of https://api.parse.com/1 in the hosted Parse API.