Configure non-simple CORS server-side

@dmjio says (probably correctly) that it's best to just serve the client from
the server and circumvent CORS issues altogether.

One day I will set that up. For now, this works... *sigh*
This commit is contained in:
William Carroll 2020-07-31 18:30:21 +01:00
parent cdaa449670
commit 29a00dc571
2 changed files with 14 additions and 3 deletions

View file

@ -12,6 +12,7 @@ in pkgs.mkShell {
hpkgs.aeson
hpkgs.resource-pool
hpkgs.sqlite-simple
hpkgs.wai-cors
hpkgs.warp
hpkgs.cryptonite
hpkgs.uuid