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.
2 parents 144fe73 + 8e0a2a1 commit ac71610Copy full SHA for ac71610
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