mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-28 22:13:20 -05:00
12 lines
373 B
Diff
12 lines
373 B
Diff
|
--- 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}`)
|
||
|
}
|