From 4ecf0ac10c4e7689c103dbfa916e28d1c768ae7f Mon Sep 17 00:00:00 2001 From: Simon Bengtsson Date: Wed, 17 Feb 2016 20:30:43 +0100 Subject: [PATCH] Don't use https://api.parse.com/1 as default serverURL --- src/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index a5355f6caf..07629a3626 100644 --- a/src/index.js +++ b/src/index.js @@ -115,9 +115,7 @@ function ParseServer(args) { // Initialize the node client SDK automatically 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. // It's the equivalent of https://api.parse.com/1 in the hosted Parse API.