(cors-preflight-check-method {:keys [headers] :as req} cors-policy)
(cors-preflight-check-request-headers {:keys [headers] :as req} cors-policy)
(wrap-cors handler cors-policy)
CORS Middleware for standard ring applications.
See com.unbounce.encors.types for schema definition of cors-policy
CORS Middleware for standard ring applications. See com.unbounce.encors.types for schema definition of cors-policy
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close