Fixes #23135 - Allow cross origin request for /nodeinfo/2.0 API (#27413)

th-downstream
Wladimir Palant 1 year ago committed by GitHub
parent 13456efd7b
commit 23f8e93c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,6 +14,7 @@ Rails.application.config.middleware.insert_before 0, Rack::Cors do
with_options headers: :any, credentials: false do
with_options methods: [:get] do
resource '/.well-known/*'
resource '/nodeinfo/*'
resource '/@:username'
resource '/users/:username'
end

Loading…
Cancel
Save