Kaynağa Gözat

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

master^2
Eugen Rochko 4 yıl önce
committed by GitHub
ebeveyn
işleme
02d272cf49
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. +2
    -0
      app/controllers/api/oembed_controller.rb

+ 2
- 0
app/controllers/api/oembed_controller.rb Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet