diff --git a/config/environments/production.rb b/config/environments/production.rb index a2069257b..a3a7913a1 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -98,6 +98,9 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false + # Disable deface if neccesary + config.deface.enabled = ENV['DEFACE_ENABLED'] == 'true' + # Enable first-time tutorial for users signing in the sciNote for # the first time. config.x.enable_tutorial = ENV['ENABLE_TUTORIAL'] != 'false'