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