mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:02:46 +08:00
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
|
||||
|
||||
loop do
|
||||
url = UrlHelper.absolute(old_url)
|
||||
url = UrlHelper.absolute_without_cdn(old_url)
|
||||
|
||||
begin
|
||||
file = FileHelper.download(
|
||||
|
|
Loading…
Reference in New Issue
Block a user