mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
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