[epiphany] ephy: Fix getWebAppIcon fallback URL
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy: Fix getWebAppIcon fallback URL
- Date: Sun, 25 Aug 2019 19:54:51 +0000 (UTC)
commit 6a1eb38a4766ed7892cd38bc67d4a86277ff1c8a
Author: Sonny Piers <sonny fastmail net>
Date: Sat Aug 24 15:40:35 2019 +0000
ephy: Fix getWebAppIcon fallback URL
embed/web-process-extension/resources/js/ephy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/web-process-extension/resources/js/ephy.js
b/embed/web-process-extension/resources/js/ephy.js
index 85e403b80..379035e5b 100644
--- a/embed/web-process-extension/resources/js/ephy.js
+++ b/embed/web-process-extension/resources/js/ephy.js
@@ -98,7 +98,7 @@ Ephy.getWebAppIcon = function(baseURL)
return { 'url' : new URL(ogpIcon, baseURL).href, 'color' : null };
// Last ditch effort: just fallback to the default favicon location.
- return { 'url' : new URL('./favicon.ico', baseURL).href, 'color' : null };
+ return { 'url' : new URL('/favicon.ico', baseURL).href, 'color' : null };
}
Ephy.PreFillUserMenu = class PreFillUserMenu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]