820 B
820 B
fuck-cors
A Clojure library designed to fuck CORS and open your API completely. So all AJAX Call should alway works, be it with cookies or not.
In which case should you use this library:
- You don't have time to think and want something that just works.
- You don't mind much about security.
- You hate CORS but want to be able to make Ajax call Cross website.
Why?
Some Men Just Want to Watch the World Burn
Usage
Add
[fuck-cors 0.1.0]
to your project.clj
.
Then
(:require [fuck-cors.core :refer [wrap-open-cors])
And use wrap-open-cors
as middleware.
License
Copyright © 2014 Yann Esposito
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.