diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/vite_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/vite_helper.rb b/app/helpers/vite_helper.rb index cf9a5008a69..adb9ffa39e0 100644 --- a/app/helpers/vite_helper.rb +++ b/app/helpers/vite_helper.rb @@ -5,7 +5,7 @@ module ViteHelper # vite is not production ready yet return false if Rails.env.production? # Enable vite if explicitly turned on in the GDK - return Gitlab::Utils.to_boolean(ViteRuby.env['VITE_ENABLED'], false) if ViteRuby.env.key?('VITE_ENABLED') + return Gitlab::Utils.to_boolean(ViteRuby.env['VITE_ENABLED'], default: false) if ViteRuby.env.key?('VITE_ENABLED') # Enable vite the legacy way (in case GDK hasn't been updated) # This is going to be removed with https://gitlab.com/gitlab-org/gitlab/-/issues/431041 |