normalize https into http for artist urls
This commit is contained in:
@@ -38,6 +38,7 @@ class ArtistUrl < ApplicationRecord
|
|||||||
rescue Sources::Site::NoStrategyError
|
rescue Sources::Site::NoStrategyError
|
||||||
end
|
end
|
||||||
url = url.gsub(/\/+\Z/, "")
|
url = url.gsub(/\/+\Z/, "")
|
||||||
|
url = url.gsub(%r!^https://!, "http://")
|
||||||
url + "/"
|
url + "/"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user