diff --git a/project.clj b/project.clj index 010c623..47ee6e0 100644 --- a/project.clj +++ b/project.clj @@ -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" diff --git a/src/fuck_cors/core.clj b/src/fuck_cors/core.clj index a2b8568..fadda77 100644 --- a/src/fuck_cors/core.clj +++ b/src/fuck_cors/core.clj @@ -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"