Fix blurhash and autoplay not working on public pages (#11585)
This commit is contained in:
parent
70da6d6630
commit
e5cee8062f
13 changed files with 32 additions and 63 deletions
|
@ -8,12 +8,7 @@ class PublicTimelinesController < ApplicationController
|
|||
before_action :set_body_classes
|
||||
before_action :set_instance_presenter
|
||||
|
||||
def show
|
||||
@initial_state_json = ActiveModelSerializers::SerializableResource.new(
|
||||
InitialStatePresenter.new(settings: { known_fediverse: Setting.show_known_fediverse_at_about_page }, token: current_session&.token),
|
||||
serializer: InitialStateSerializer
|
||||
).to_json
|
||||
end
|
||||
def show; end
|
||||
|
||||
private
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue