Removing external hub completely, fix #333 fixing digit-only hashtags,
removing web app capability from non-webapp pagesth-downstream
parent
6bd9019458
commit
9d4f96f440
@ -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
|
||||
|
@ -1,12 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class HubPingWorker
|
||||
include Sidekiq::Worker
|
||||
include RoutingHelper
|
||||
|
||||
def perform(account_id)
|
||||
account = Account.find(account_id)
|
||||
return unless account.local?
|
||||
OStatus2::Publication.new(account_url(account, format: 'atom'), [Rails.configuration.x.hub_url]).publish
|
||||
end
|
||||
end
|
Loading…
Reference in new issue