mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add feature flag for redirecting SL to v2
This commit is contained in:
parent
42426c8fb8
commit
fc0b9df14c
1 changed files with 2 additions and 0 deletions
|
@ -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.createV1AccountOnLogin
|
||||
else
|
||||
throw new Error("unknown feature: #{feature}")
|
||||
|
|
Loading…
Reference in a new issue