Commit 158b57de authored by Eugen Rochko's avatar Eugen Rochko Committed by Nathan Ladd
Browse files

Fix access to OEmbed endpoint in secure mode (#12864)

parent 10fdac68
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment