about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/lemmy.nix
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2023-08-27 19:27:40 +0800
committerYt <happysalada@tuta.io>2023-08-27 20:44:10 +0800
commit676fe5e01b9a41fa14aaa48d87685677664104b1 (patch)
tree4646ce376246183932a0706fe34a1bf575c065b2 /nixos/modules/services/web-apps/lemmy.nix
parentc3ed95307ef485a6d64bcdd9d47a092ea95cf817 (diff)
downloadnixlib-676fe5e01b9a41fa14aaa48d87685677664104b1.tar
nixlib-676fe5e01b9a41fa14aaa48d87685677664104b1.tar.gz
nixlib-676fe5e01b9a41fa14aaa48d87685677664104b1.tar.bz2
nixlib-676fe5e01b9a41fa14aaa48d87685677664104b1.tar.lz
nixlib-676fe5e01b9a41fa14aaa48d87685677664104b1.tar.xz
nixlib-676fe5e01b9a41fa14aaa48d87685677664104b1.tar.zst
nixlib-676fe5e01b9a41fa14aaa48d87685677664104b1.zip
lemmy: fix ui commit_hash path
Diffstat (limited to 'nixos/modules/services/web-apps/lemmy.nix')
-rw-r--r--nixos/modules/services/web-apps/lemmy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/lemmy.nix b/nixos/modules/services/web-apps/lemmy.nix
index 895f3a9f1b4b..20d9dcb7c266 100644
--- a/nixos/modules/services/web-apps/lemmy.nix
+++ b/nixos/modules/services/web-apps/lemmy.nix
@@ -160,7 +160,7 @@ in
               root * ${cfg.ui.package}/dist
               file_server
             }
-            handle_path /static/undefined/* {
+            handle_path /static/${cfg.ui.package.passthru.commit_sha}/* {
               root * ${cfg.ui.package}/dist
               file_server
             }