diff --git a/plugins/fabrique/patches/04-oblik.js b/plugins/fabrique/patches/04-oblik.js index e78187c3b..f081084db 100644 --- a/plugins/fabrique/patches/04-oblik.js +++ b/plugins/fabrique/patches/04-oblik.js @@ -1,4 +1,8 @@ -module.exports = async (manifests, _options, _context) => { +module.exports = async (manifests, _options, context) => { + if (context.config.environment === "prod") { + return manifests + } + const labelKey = "oblik.socialgouv.io/enabled" const labelValue = "true"