diff --git a/templates/_layout/base.twig b/templates/_layout/base.twig
index ebbba190..e0152bbe 100755
--- a/templates/_layout/base.twig
+++ b/templates/_layout/base.twig
@@ -8,7 +8,7 @@
- {% if craft.app.config.general.devMode %}
+ {% if craft.app.config.env != 'production' %}
{% endif %}