Skip to content
flatlandPublic
forked from r0man/ring-cors

About

Ring middleware for Cross-Origin Resource Sharing.

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

# ring-cors

Ring middleware for Cross-Origin Resource Sharing.

## Installation

Via Leiningen: [ring-cors "0.0.7-SNAPSHOT"]

## Usage

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

## License

Copyright (C) 2011 Roman Scherer

Distributed under the Eclipse Public License, the same as Clojure.

About

Ring middleware for Cross-Origin Resource Sharing.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages