diff --git a/Changelog.md b/Changelog.md index 1a9c2bb8a..dd96d678d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -54,6 +54,7 @@ We recommend setting up new pods using Ruby 3.1, and updating existing pods to t * Replace `apparition` with `cuprite` [#8418](https://github.com/diaspora/diaspora/pull/8418) * Remove `i18n-inflector-rails` for translations [#8420](https://github.com/diaspora/diaspora/pull/8420) * Add ruby 3.0 and 3.1 support [#8423](https://github.com/diaspora/diaspora/pull/8423) [#8426](https://github.com/diaspora/diaspora/pull/8426) [#8427](https://github.com/diaspora/diaspora/pull/8427) +* Add CORS headers to nodeinfo endpoints to allow for client-side fetching [#8436](https://github.com/diaspora/diaspora/pull/8436) ## Bug fixes * Fix multiple photos upload progress bar [#7655](https://github.com/diaspora/diaspora/pull/7655) diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index 4575c3b64..66f1f8b9d 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -13,5 +13,7 @@ Rails.application.config.middleware.insert_before 0, Rack::Cors do resource "/api/*", methods: :any resource "/.well-known/webfinger" resource "/.well-known/openid-configuration" + resource "/.well-known/nodeinfo" + resource "/nodeinfo/*" end end