Skip to content

Commit 6549691

Browse files
Only set the server url if it exists in the config
1 parent 9fb4423 commit 6549691

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ParseServiceProvider.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ protected function setupParse()
6363
$config = $this->app->config->get('parse');
6464

6565
ParseClient::initialize($config['app_id'], $config['rest_key'], $config['master_key']);
66-
ParseClient::setServerURL($config['server_url']);
66+
67+
if (isset($config['server_url'])) {
68+
ParseClient::setServerURL($config['server_url']);
69+
}
6770
}
6871

6972
/**

0 commit comments

Comments
 (0)