Ring CORS
Ring middleware for Cross-Origin Resource Sharing.
Usage
(require '[ring.middleware.cors :refer [wrap-cors]])
(def handler
(wrap-cors my-routes :access-control-allow-origin [#"http://example.com"]
:access-control-allow-methods [:get :put :post :delete]))
License
Copyright (C) 2013-2016 r0man
Distributed under the Eclipse Public License, the same as Clojure.