Skip to content
Snippets Groups Projects
Commit ad05b33c authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Apply simple CORS rules with Network.Wai CORS middleware.

A POST to the charge endpoint is not actually a simple request according to
the CORS spec but this demonstrates that the CORS middleware at least fits in
place.

The next step is to replace simpleCors with a policy that's compatible with
use of our endpoint.
parent caab7d1f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment