From a7d37218820306653b888247f79c88744be14940 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 7 Apr 2017 14:31:21 +0100 Subject: [PATCH 1/2] Fetch favicon and related assets from root. --- services/web/app/views/layout.pug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/app/views/layout.pug b/services/web/app/views/layout.pug index dbe1e8c6b2..6ef22dcd68 100644 --- a/services/web/app/views/layout.pug +++ b/services/web/app/views/layout.pug @@ -18,10 +18,10 @@ html(itemscope, itemtype='http://schema.org/Product') -else title= translate(title) + ' - ShareLaTeX, ' + translate("online_latex_editor") - link(rel="icon", href="favicon.ico") - link(rel="icon", sizes="192x192", href="touch-icon-192x192.png") - link(rel="apple-touch-icon-precomposed", href="favicon-152.png") - link(rel="mask-icon", href="mask-favicon.svg", color="#a93529") + link(rel="icon", href="/favicon.ico") + link(rel="icon", sizes="192x192", href="/touch-icon-192x192.png") + link(rel="apple-touch-icon-precomposed", href="/favicon-152.png") + link(rel="mask-icon", href="/mask-favicon.svg", color="#a93529") link(rel='stylesheet', href=buildCssPath('/style.css')) From 332e4a80b2c86005c4b99aadaa776baedf4a963f Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 7 Apr 2017 14:43:07 +0100 Subject: [PATCH 2/2] Also fix iOS icon path. --- services/web/app/views/layout.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/layout.pug b/services/web/app/views/layout.pug index 6ef22dcd68..c1681d0870 100644 --- a/services/web/app/views/layout.pug +++ b/services/web/app/views/layout.pug @@ -20,7 +20,7 @@ html(itemscope, itemtype='http://schema.org/Product') link(rel="icon", href="/favicon.ico") link(rel="icon", sizes="192x192", href="/touch-icon-192x192.png") - link(rel="apple-touch-icon-precomposed", href="/favicon-152.png") + link(rel="apple-touch-icon-precomposed", href="/apple-touch-icon-precomposed.png") link(rel="mask-icon", href="/mask-favicon.svg", color="#a93529") link(rel='stylesheet', href=buildCssPath('/style.css'))