Skip to content

Commit 4ecf0ac

Browse files
Don't use https://api.parse.com/1 as default serverURL
1 parent f8ae863 commit 4ecf0ac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ function ParseServer(args) {
115115

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

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

0 commit comments

Comments
 (0)