From 5b1e01f0003286f9dac45f0b513b80717fee71ab Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 4 Nov 2016 14:19:58 +0100 Subject: [PATCH] Fix web app manifests --- app/views/layouts/application.html.haml | 8 ++++---- public/browserconfig.xml | 2 +- public/manifest.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 3ec743768c..fbb48d6213 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -5,10 +5,10 @@ %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/ %meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge'}/ - %link{:rel => "apple-touch-icon", :sizes => "180x180", :href => "/assets/apple-touch-icon.png"}/ - %link{:rel => "manifest", :href => "/assets/manifest.json"}/ - %meta{:name => "msapplication-config", :content => "/assets/browserconfig.xml"}/ - %meta{:name => "theme-color", :content => "#ffffff"}/ + %link{:rel => "apple-touch-icon", :sizes => "180x180", :href => "/apple-touch-icon.png"}/ + %link{:rel => "manifest", :href => "/manifest.json"}/ + %meta{:name => "msapplication-config", :content => "/browserconfig.xml"}/ + %meta{:name => "theme-color", :content => "#2b90d9"}/ %title = "#{yield(:page_title)} - " if content_for?(:page_title) diff --git a/public/browserconfig.xml b/public/browserconfig.xml index 77318233c5..29c6ff5812 100644 --- a/public/browserconfig.xml +++ b/public/browserconfig.xml @@ -2,7 +2,7 @@ - + #2b5797 diff --git a/public/manifest.json b/public/manifest.json index 173270f036..063f79439b 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -3,7 +3,7 @@ "description": "Mastodon is a free, open-source social network server.", "icons": [ { - "src": "\/assets\/android-chrome-192x192.png", + "src": "\/android-chrome-192x192.png", "sizes": "192x192", "type": "image\/png" }