diff --git a/services/web/app/coffee/infrastructure/Features.coffee b/services/web/app/coffee/infrastructure/Features.coffee index ffc60604e6..43dadcda2d 100644 --- a/services/web/app/coffee/infrastructure/Features.coffee +++ b/services/web/app/coffee/infrastructure/Features.coffee @@ -25,5 +25,7 @@ module.exports = Features = when 'rich-text' isEnabled = true # Switch to false to disable Settings.overleaf? and isEnabled + when 'redirect-sl' + return Settings.redirectToV2? else throw new Error("unknown feature: #{feature}")