Generate URL without CDN when migrating upload site settings.
This commit is contained in:
parent
72370b9c36
commit
52a756b98c
|
@ -23,7 +23,7 @@ class MigrateUrlSiteSettings < ActiveRecord::Migration[5.2]
|
||||||
sleep_interval = 5
|
sleep_interval = 5
|
||||||
|
|
||||||
loop do
|
loop do
|
||||||
url = UrlHelper.absolute(old_url)
|
url = UrlHelper.absolute_without_cdn(old_url)
|
||||||
|
|
||||||
begin
|
begin
|
||||||
file = FileHelper.download(
|
file = FileHelper.download(
|
||||||
|
|
Loading…
Reference in New Issue