diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-19 22:44:33 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-19 22:44:33 -0600 |
commit | 3664286506f673737c0784b9cfd494cda1dc4618 (patch) | |
tree | aa30b37e0d9057bf945eec0d3699404e08445b8b /srv/default.nix | |
parent | 8da42184eb26bbd35618d81e47bcd23b6ce21adb (diff) |
Actually use the auth middleware for assets routes
Diffstat (limited to 'srv/default.nix')
-rw-r--r-- | srv/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/srv/default.nix b/srv/default.nix index 7067e1e..e7286b6 100644 --- a/srv/default.nix +++ b/srv/default.nix @@ -32,6 +32,9 @@ # listening export MEDIOCRE_BLOG_LISTEN_PROTO="${config.listenProto}" export MEDIOCRE_BLOG_LISTEN_ADDR="${config.listenAddr}" + + # api + export MEDIOCRE_BLOG_API_AUTH_USERS='${builtins.toJSON config.apiAuthUsers}' ''; build = buildGoModule { |