Removing external hub completely, fix #333 fixing digit-only hashtags,

removing web app capability from non-webapp pages
This commit is contained in:
Eugen Rochko
2016-12-18 12:17:45 +01:00
parent c4ffffbeed
commit 6de079a5af
14 changed files with 2 additions and 32 deletions

View File

@ -15,7 +15,6 @@ Nokogiri::XML::Builder.new do |xml|
link_alternate xml, TagManager.instance.url_for(@account)
link_self xml, account_url(@account, format: 'atom')
link_hub xml, api_push_url
link_hub xml, Rails.configuration.x.hub_url
link_salmon xml, api_salmon_url(@account.id)
@entries.each do |stream_entry|

View File

@ -1,4 +1,5 @@
- content_for :header_tags do
%meta{:name => "apple-mobile-web-app-capable", :content => "yes"}/
= javascript_include_tag 'application'
= react_component 'Mastodon', default_props, class: 'app-holder', prerender: false

View File

@ -9,7 +9,6 @@
%link{:rel => "manifest", :href => "/manifest.json"}/
%meta{:name => "msapplication-config", :content => "/browserconfig.xml"}/
%meta{:name => "theme-color", :content => "#2b90d9"}/
%meta{:name => "apple-mobile-web-app-capable", :content => "yes"}/
%title
= "#{yield(:page_title)} - " if content_for?(:page_title)