Sfoglia il codice sorgente

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

master^2
Eugen Rochko 4 anni fa
committed by GitHub
parent
commit
83deae5bd7
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. +1
    -5
      app/controllers/well_known/host_meta_controller.rb

+ 1
- 5
app/controllers/well_known/host_meta_controller.rb Vedi File

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

Caricamento…
Annulla
Salva