spec/scenario/config/environments/test.rb in grape-app-0.5.0 vs spec/scenario/config/environments/test.rb in grape-app-0.5.1
- old
+ new
@@ -1,8 +1,7 @@
Grape::App.configure do |c|
c.test_specific = true
c.raise_on_missing_translations = true
- c.cors_allow_origins = "x"
c.cors do
allow do
origins '*'
resource '*', headers: :any, methods: [:get, :post, :options]
end