|
@@ -27,7 +27,7 @@ class ComposerRepository extends ArrayRepository
|
|
|
public function __construct(array $config)
|
|
|
{
|
|
|
if (!preg_match('{^\w+://}', $config['url'])) {
|
|
|
- // assume http as the default protocol
|
|
|
+ // assume http as the default protocol
|
|
|
$config['url'] = 'http://'.$config['url'];
|
|
|
}
|
|
|
$config['url'] = rtrim($config['url'], '/');
|