Skip to content

Commit

Permalink
Merge pull request #266 from joshwlewis/add-cors-header-origin-safari
Browse files Browse the repository at this point in the history
Support 'Origin' CORS header for Safari
  • Loading branch information
gudmundur committed May 4, 2016
2 parents b7a29cd + 05acf3a commit d7a6c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pliny/middleware/cors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CORS
ALLOW_METHODS =
%w( GET POST PUT PATCH DELETE OPTIONS ).freeze
ALLOW_HEADERS =
%w( Content-Type Accept Authorization Cache-Control If-None-Match If-Modified-Since ).freeze
%w( Content-Type Accept Authorization Cache-Control If-None-Match If-Modified-Since Origin).freeze
EXPOSE_HEADERS =
%w( Cache-Control Content-Language Content-Type Expires Last-Modified Pragma ).freeze

Expand Down

0 comments on commit d7a6c69

Please sign in to comment.