Commit 5b6cef06 authored by flaburgan's avatar flaburgan Committed by Benjamin Neff

Remove legacy mobile web-capable

parent d4434013
# frozen_string_literal: true
class ManifestController < ApplicationController
def show
render json: '{
"short_name": "diaspora*",
"name": "diaspora*",
"description": "diaspora* is a free, decentralized and privacy respectful social network",
"icons": [
{
"src": "/icon.png",
"type": "image/png",
"sizes": "192x192"
}
],
"start_url": "/",
"background_color": "#000000",
"display": "standalone",
"theme_color": "#000000"
}'
end
end
......@@ -4,8 +4,6 @@
%meta{charset: "utf-8"}/
= content_for?(:meta_data) ? yield(:meta_data) : metas_tags
%meta{content: "yes", name: "mobile-web-app-capable"}/
/ favicon
/ For Apple devices
%link{rel: "apple-touch-icon", href: image_path("apple-touch-icon.png")}
......
......@@ -12,7 +12,7 @@
= load_javascript_locales
= include_color_theme
= render "head"
= render "layouts/head"
= translation_missing_warnings
%body{class: "page-#{controller_name} action-#{action_name}"}
......
......@@ -17,11 +17,6 @@
%meta{name: "MobileOptimized", content: "320"}/
%meta{"http-equiv" => "cleartype", :content => "on"}/
/ iOS mobile web app indicator
/ NOTE(we will enable these once we don't have to rely on back/forward buttons anymore)
/%meta{:name => "apple-mobile-web-app-capable", :content => "yes"}
/%link{:rel => "apple-touch-startup-image", :href => "/images/apple-splash.png"}
%body
#app
= render "layouts/header"
......
......@@ -239,4 +239,5 @@ Rails.application.routes.draw do
end
get ".well-known/openid-configuration", to: "api/openid_connect/discovery#configuration"
get "manifest.json", to: "manifest#show"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment