diff --git a/config/routes/api.rb b/config/routes/api.rb
index dbca958689..2344a2212c 100644
--- a/config/routes/api.rb
+++ b/config/routes/api.rb
@@ -6,18 +6,16 @@ Openfoodnetwork::Application.routes.draw do
namespace :api do
- constraints FeatureToggleConstraint.new(:dfc_provider) do
- # Mount DFC API endpoints
- #
- # We're using the DFC Connector which produces DFC v1.7 data but the
- # DFC prototype is still pointing to the old URL. We keep it for
- # testing.
- mount DfcProvider::Engine, at: '/dfc-v1.6/', as: :legacy_dfc_provider_engine
+ # Mount DFC API endpoints
+ #
+ # We're using the DFC Connector which produces DFC v1.7 data but the
+ # DFC prototype is still pointing to the old URL. We keep it for
+ # testing.
+ mount DfcProvider::Engine, at: '/dfc-v1.6/', as: :legacy_dfc_provider_engine
- # The DFC API version depends on the version of the
- # datafoodconsortium-connector gem.
- mount DfcProvider::Engine, at: '/dfc-v1.7/'
- end
+ # The DFC API version depends on the version of the
+ # datafoodconsortium-connector gem.
+ mount DfcProvider::Engine, at: '/dfc-v1.7/'
namespace :v0 do
resources :products do
diff --git a/lib/open_food_network/feature_toggle.rb b/lib/open_food_network/feature_toggle.rb
index 9252fcbcc9..667eb44e65 100644
--- a/lib/open_food_network/feature_toggle.rb
+++ b/lib/open_food_network/feature_toggle.rb
@@ -21,9 +21,6 @@ module OpenFoodNetwork
"background_reports" => <<~DESC,
Generate reports in a background process to limit memory consumption.
DESC
- "dfc_provider" => <<~DESC,
- Enable the DFC compatible endpoint at /api/dfc-*.
- DESC
"match_shipping_categories" => <<~DESC,
During checkout, show only shipping methods that support all
shipping categories. Activating this feature for an enterprise owner