about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/tazjin/blog/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/users/tazjin/blog/default.nix b/users/tazjin/blog/default.nix
index d2f04aaea5..2232be2736 100644
--- a/users/tazjin/blog/default.nix
+++ b/users/tazjin/blog/default.nix
@@ -52,8 +52,7 @@ in {
   # Generate embeddable nginx configuration for redirects from old post URLs
   oldRedirects = lib.concatStringsSep "\n" (map (post: ''
     location ~* ^(/en)?/${post.oldKey} {
-      # TODO(tazjin): 301 once this works
-      return 302 https://tazj.in/blog/${post.key};
+      return 301 https://tazj.in/blog/${post.key};
     }
   '') (filter (hasAttr "oldKey") posts));
 }