test/dummy/config/application.rb in devise_token_auth-0.1.2 vs test/dummy/config/application.rb in devise_token_auth-0.1.3

- old
+ new

@@ -22,10 +22,13 @@ # allow cross origin requests config.middleware.use Rack::Cors do allow do origins '*' - resource '*', :headers => :any, :methods => [:get, :post, :options, :delete, :put] + resource '*', + :headers => :any, + :expose => ['Authorization'], + :methods => [:get, :post, :options, :delete, :put] end end end end