diff --git a/config/application.rb b/config/application.rb index d5b30e9930ed..98bdb1e33666 100644 --- a/config/application.rb +++ b/config/application.rb @@ -24,6 +24,13 @@ class Application < Rails::Application end end + # Activate the Skylight agent in staging. You need to provision the + # SKYLIGHT_AUTHENTICATION env var in your OFN instance for this to work. + # + # Check https://github.com/openfoodfoundation/openfoodnetwork/pull/2070 for + # details + config.skylight.environments += ["staging"] + # Settings dependent on locale # # We need to set this config before the promo environment gets loaded and