fix: db diff default has flipped base/target url (#845)

This commit is contained in:
cpendery 2022-07-25 17:13:24 -04:00 committed by GitHub
parent a6ec8f11be
commit d5ff4ef9dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,7 @@ func getDefaultURL() (defaultURL []*url.URL, err error) {
recent := available[:2]
for _, entry := range recent {
defaultURL = append(defaultURL, entry.URL)
defaultURL = append([]*url.URL{entry.URL}, defaultURL...)
}
return defaultURL, nil