can use relative path for mirror
parent
75416c69b4
commit
05fcc4adfb
|
@ -497,7 +497,10 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
|||
$this->sourceMirrors['hg'][] = array('url' => $mirror['hg-url'], 'preferred' => !empty($mirror['preferred']));
|
||||
}
|
||||
if (!empty($mirror['dist-url'])) {
|
||||
$this->distMirrors[] = array('url' => $mirror['dist-url'], 'preferred' => !empty($mirror['preferred']));
|
||||
$this->distMirrors[] = array(
|
||||
'url' => $this->canonicalizeUrl($mirror['dist-url']),
|
||||
'preferred' => !empty($mirror['preferred'])
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue