mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 04:32:22 +00:00
This commit is contained in:
parent
13456efd7b
commit
23f8e93c64
|
@ -14,6 +14,7 @@ Rails.application.config.middleware.insert_before 0, Rack::Cors do
|
||||||
with_options headers: :any, credentials: false do
|
with_options headers: :any, credentials: false do
|
||||||
with_options methods: [:get] do
|
with_options methods: [:get] do
|
||||||
resource '/.well-known/*'
|
resource '/.well-known/*'
|
||||||
|
resource '/nodeinfo/*'
|
||||||
resource '/@:username'
|
resource '/@:username'
|
||||||
resource '/users/:username'
|
resource '/users/:username'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue