Skip to content

Commit

Permalink
Fixes mastodon#23135 - Allow cross origin request for /nodeinfo/2.0 A…
Browse files Browse the repository at this point in the history
  • Loading branch information
palant authored and 000hen committed Dec 6, 2023
1 parent 46bbb8b commit a407192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/cors.rb
Expand Up @@ -14,6 +14,7 @@
with_options headers: :any, credentials: false do
with_options methods: [:get] do
resource '/.well-known/*'
resource '/nodeinfo/*'
resource '/@:username'
resource '/users/:username'
end
Expand Down

0 comments on commit a407192

Please sign in to comment.