diff --git a/php/bin/snips b/php/bin/snips index 4a83dba..996eb73 100755 --- a/php/bin/snips +++ b/php/bin/snips @@ -39,7 +39,7 @@ if ($getShortcut) { $file = $shortcut[1]; } -$baseUrl = 'https://snips.loken.nl/api/'; +$baseUrl = $config->get('baseUrl', 'https://snips.loken.nl/api/'); $snips = new snips($baseUrl, $apiKey); switch ($command) { @@ -68,4 +68,4 @@ switch ($command) { lexit('Unknown command: ' . $command, 1); } -lexit('Done successfully'); \ No newline at end of file +lexit('Done'); \ No newline at end of file