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 audiodude committed Oct 23, 2023
1 parent e6fb6ec commit 59afb77
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 59afb77

Please sign in to comment.