am trying to configure a webserver (Haskell, using Scotty) to respond to CORS requests. The code for Main.hs is at the end of the post, and here is the repo.
Main.hs