Skip to content

Commit 3087b21

Browse files
committed
Merge pull request #464 from simonbengtsson/master
Don't use https://api.parse.com/1 as default serverURL
2 parents 2afb285 + 4ecf0ac commit 3087b21

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ function ParseServer(args) {
116116

117117
// Initialize the node client SDK automatically
118118
Parse.initialize(args.appId, args.javascriptKey || '', args.masterKey);
119-
if(args.serverURL) {
120-
Parse.serverURL = args.serverURL;
121-
}
119+
Parse.serverURL = args.serverURL || '';
122120

123121
// This app serves the Parse API directly.
124122
// It's the equivalent of https://api.parse.com/1 in the hosted Parse API.

0 commit comments

Comments
 (0)