r0man / ring-cors

Ring middleware for Cross-Origin Resource Sharing.
http://github.com/r0man/ring-cors
166 stars 44 forks source link

allow :access-control-allow-origin option to be a function #22

Closed Kah0ona closed 6 years ago

Kah0ona commented 6 years ago

To add dynamic capability of allowance checks.

r0man commented 6 years ago

@Kah0ona Could you rebase on master please. I fixed the issue with lein2 on Travis.

Kah0ona commented 6 years ago

Done! Sorry for the wait, was away for the easter.

r0man commented 6 years ago

@Kah0ona The build is still failing because of some linter errors. Some lines are too long. Could you please fix this? You can check this locally via lein ci.

r0man commented 6 years ago

@Kah0ona Thanks!