From 8be55184e6e528b0e61cba911323c667a3d05777 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 18 Nov 2020 09:36:52 +0000 Subject: [PATCH] FIX: Precompile wizard stylesheet (#11275) This ensures it will not raise a 404 error during deploys --- lib/stylesheet/manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stylesheet/manager.rb b/lib/stylesheet/manager.rb index a4fae3da4b4..56dd7068634 100644 --- a/lib/stylesheet/manager.rb +++ b/lib/stylesheet/manager.rb @@ -155,7 +155,7 @@ class Stylesheet::Manager color_schemes << ColorScheme.find_by(id: SiteSetting.default_dark_mode_color_scheme_id) 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) themes.each do |id, name, color_scheme_id|