Przeglądaj źródła

Fix uncaught unknown format errors in host meta controller (#12747)

master^2
Eugen Rochko 4 lat temu
committed by GitHub
rodzic
commit
83deae5bd7
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 5 usunięć
  1. +1
    -5
      app/controllers/well_known/host_meta_controller.rb

+ 1
- 5
app/controllers/well_known/host_meta_controller.rb Wyświetl plik

@@ -8,12 +8,8 @@ module WellKnown

def show
@webfinger_template = "#{webfinger_url}?resource={uri}"

respond_to do |format|
format.xml { render content_type: 'application/xrd+xml' }
end

expires_in 3.days, public: true
render content_type: 'application/xrd+xml', formats: [:xml]
end
end
end

Ładowanie…
Anuluj
Zapisz