mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Make Ember CLI assets the default in production (#15843)
This can be disabled by setting `EMBER_CLI_PROD_ASSETS=0`, but this option will not be available for long. If your theme/plugin/site has issues under Ember CLI, please open a topic on https://meta.discourse.org
This commit is contained in:
@@ -23,7 +23,7 @@ class QunitController < ApplicationController
|
||||
|
||||
@is_proxied = is_ember_cli_proxy?
|
||||
@legacy_ember = if Rails.env.production?
|
||||
ENV['EMBER_CLI_PROD_ASSETS'] != "1"
|
||||
ENV['EMBER_CLI_PROD_ASSETS'] == "0"
|
||||
else
|
||||
!@is_proxied
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user