added a common header
This commit is contained in:
parent
eb7641499c
commit
9326a43b3c
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
(defproject fuck-cors "0.1.2"
|
||||
(defproject fuck-cors "0.1.3"
|
||||
:description "Fuck CORS and open all to everyone"
|
||||
:url "http://github.com/yogsototh/fuck-cors"
|
||||
:license {:name "MIT"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
referer
|
||||
host)
|
||||
headers {"Access-Control-Allow-Origin" origins
|
||||
"Access-Control-Allow-Headers" "Origin, X-Requested-With, Content-Type, Accept, Cache-Control, Accept-Language, Accept-Encoding, Authorization"
|
||||
"Access-Control-Allow-Headers" "Origin, X-Served-By, X-Requested-With, Content-Type, Accept, Cache-Control, Accept-Language, Accept-Encoding, Authorization"
|
||||
"Access-Control-Allow-Methods" "HEAD, GET, POST, PUT, DELETE, OPTIONS, TRACE"
|
||||
"Access-Control-Allow-Credentials" "true"
|
||||
"Access-Control-Expose-Headers" "content-length"
|
||||
|
|
Loading…
Reference in a new issue