Ver a proveniência

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

master^2
Eugen Rochko há 4 anos
committed by GitHub
ascendente
cometimento
02d272cf49
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com 2 adições e 0 eliminações
  1. +2
    -0
      app/controllers/api/oembed_controller.rb

+ 2
- 0
app/controllers/api/oembed_controller.rb Ver ficheiro

@@ -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


Carregando…
Cancelar
Guardar