mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 03:10:45 +08:00
FIX: Precompile wizard stylesheet (#11275)
This ensures it will not raise a 404 error during deploys
This commit is contained in:
parent
d90b852cd0
commit
8be55184e6
|
@ -155,7 +155,7 @@ class Stylesheet::Manager
|
||||||
color_schemes << ColorScheme.find_by(id: SiteSetting.default_dark_mode_color_scheme_id)
|
color_schemes << ColorScheme.find_by(id: SiteSetting.default_dark_mode_color_scheme_id)
|
||||||
color_schemes = color_schemes.compact.uniq
|
color_schemes = color_schemes.compact.uniq
|
||||||
|
|
||||||
targets = [:desktop, :mobile, :desktop_rtl, :mobile_rtl, :desktop_theme, :mobile_theme, :admin]
|
targets = [:desktop, :mobile, :desktop_rtl, :mobile_rtl, :desktop_theme, :mobile_theme, :admin, :wizard]
|
||||||
targets += Discourse.find_plugin_css_assets(include_disabled: true, mobile_view: true, desktop_view: true)
|
targets += Discourse.find_plugin_css_assets(include_disabled: true, mobile_view: true, desktop_view: true)
|
||||||
|
|
||||||
themes.each do |id, name, color_scheme_id|
|
themes.each do |id, name, color_scheme_id|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user