Fix blurhash and autoplay not working on public pages (#11585)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user