Commit 19070364
Changed files (1)
config
config/application.rb
@@ -36,7 +36,7 @@ module Cake
config.middleware.use Rack::Cors do
allow do
origins "*"
- resource "*", headers: :any, methods: [:get, :post, :put, :delete, :options]
+ resource "api/*", headers: :any, methods: [:get, :post, :put, :delete, :options]
end
end
config.middleware.use ExceptionNotification::Rack, :email => {