Generate URL without CDN when migrating upload site settings.

This commit is contained in:
Guo Xiang Tan 2018-11-14 16:16:55 +08:00
parent 72370b9c36
commit 52a756b98c
1 changed files with 1 additions and 1 deletions

View File

@ -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(