Commit e64d4869

mo khan <mo@mokhan.ca>
2014-11-22 15:46:41
allow all for now.
1 parent ac9f456
Changed files (1)
config/application.rb
@@ -36,7 +36,7 @@ module Cake
     config.middleware.use Rack::Cors do
       allow do
         origins "*"
-        resource "api/*", headers: :any, methods: [:get, :post, :put, :delete, :options]
+        resource "*", headers: :any, methods: [:get, :post, :put, :delete, :options]
       end
     end
     config.middleware.use ExceptionNotification::Rack, :email => {