mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 04:32:22 +00:00
Fix access to OEmbed endpoint in secure mode (#12864)
This commit is contained in:
parent
37b5139822
commit
02d272cf49
|
@ -3,6 +3,8 @@
|
|||
class Api::OEmbedController < Api::BaseController
|
||||
respond_to :json
|
||||
|
||||
skip_before_action :require_authenticated_user!
|
||||
|
||||
def show
|
||||
@status = status_finder.status
|
||||
render json: @status, serializer: OEmbedSerializer, width: maxwidth_or_default, height: maxheight_or_default
|
||||
|
|
Loading…
Reference in a new issue