mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 08:43:45 +08:00
84f590ab83
Let's avoid fetching sprites from the CDN during page rendering.
10 lines
162 B
Ruby
10 lines
162 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BackfillSvgSprites < ActiveRecord::Migration[7.0]
|
|
disable_ddl_transaction!
|
|
|
|
def up
|
|
ThemeSvgSprite.refetch!
|
|
end
|
|
end
|