summaryrefslogtreecommitdiff
path: root/Biz/Devalloc.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-08 20:17:02 -0500
committerBen Sima <ben@bsima.me>2021-01-08 23:06:47 -0500
commit189b57e18b84e294f939ac1f0ea9ca69bcdd9661 (patch)
tree6ac9d91ddd6a5d1107e8b3489d2e07b9643f41e2 /Biz/Devalloc.nix
parent3e8f9d2656c16f3f72157b776254f3649460dab8 (diff)
Add cookies and store user tokens
Boy that was harder than I thought, but the code is pretty clean now. I still need to fixup the error handling, and maybe move all the extra args into an app monad, but I think otherwise I have it in a good place.
Diffstat (limited to 'Biz/Devalloc.nix')
-rw-r--r--Biz/Devalloc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/Biz/Devalloc.nix b/Biz/Devalloc.nix
index f994892..b7c7503 100644
--- a/Biz/Devalloc.nix
+++ b/Biz/Devalloc.nix
@@ -37,6 +37,7 @@ in
serviceConfig = {
Environment = [
"PORT=${toString cfg.port}"
+ "AREA=Live"
];
EnvironmentFile="/run/devalloc/env";
KillSignal = "INT";