overleaf/server-ce/hotfix/2.0.2/3-url-linking-1.patch

12 lines
373 B
Diff
Raw Normal View History

2019-12-10 09:06:40 -05:00
--- Features.js
+++ Features.js
@@ -53,6 +53,8 @@ module.exports = Features = {
return Settings.apis.references.url != null
case 'saml':
return Settings.enableSaml
+ case 'link-url':
+ return Settings.apis.linkedUrlProxy && Settings.apis.linkedUrlProxy.url
default:
throw new Error(`unknown feature: ${feature}`)
}