about summary refs log tree commit diff
path: root/shell.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-07-31T17·30+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-07-31T17·31+0100
commit29a00dc571b53b08064915c34e0d951467b6f1e4 (patch)
treef143048f622af32a69830ea5b93672573614f576 /shell.nix
parentcdaa449670318373fa581263284ed09d75645ac5 (diff)
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*
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
index 811061186e2e..567b71060b7b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -12,6 +12,7 @@ in pkgs.mkShell {
       hpkgs.aeson
       hpkgs.resource-pool
       hpkgs.sqlite-simple
+      hpkgs.wai-cors
       hpkgs.warp
       hpkgs.cryptonite
       hpkgs.uuid