Check for OL free trial instead of host as it may be fragile indicator
This commit is contained in:
@@ -96,7 +96,7 @@ html(itemscope, itemtype='http://schema.org/Product')
|
||||
indexName : '!{settings.templates.indexName}'
|
||||
}
|
||||
|
||||
- if (settings.overleaf && settings.overleaf.host)
|
||||
- if (settings.overleaf && settings.overleaf.useOLFreeTrial)
|
||||
script.
|
||||
window.redirectToOLFreeTrialUrl = '!{settings.overleaf.host}/users/trial'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user