Skip to content

Commit

Permalink
Use vector in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
r0man committed Jan 13, 2015
1 parent 691747b commit ea5acec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ Via Clojars: https://clojars.org/ring-cors
(require '[ring.middleware.cors :refer [wrap-cors]])

(def handler
(wrap-cors my-routes :access-control-allow-origin #"http://example.com"
(wrap-cors my-routes :access-control-allow-origin [#"http://example.com"]
:access-control-allow-methods [:get :put :post :delete]))

## License
Expand Down

0 comments on commit ea5acec

Please sign in to comment.