We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 144fe73 commit 8e0a2a1Copy full SHA for 8e0a2a1
config/application.rb
@@ -27,7 +27,8 @@ class Application < Rails::Application
27
config.middleware.insert_before 0, Rack::Cors do
28
allow do
29
origins '*'
30
- resource '*', headers: :any, methods: [:get]
+ resource '/api/v1/*', headers: :any, methods: [:get]
31
+ resource '/graphql', headers: :any, methods: [:post]
32
end
33
34
0 commit comments