Explorar o código

Check for OL free trial instead of host as it may be fragile indicator

Alasdair Smith %!s(int64=8) %!d(string=hai) anos
pai
achega
dc2ddf7e09
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/app/views/layout.pug

+ 1 - 1
services/web/app/views/layout.pug

@@ -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'