Don't use https://api.parse.com/1 as default serverURL

This commit is contained in:
Simon Bengtsson
2016-02-17 20:30:43 +01:00
parent f8ae863a2a
commit 4ecf0ac10c

View File

@@ -115,9 +115,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.