Skip to content

Commit

Permalink
redirect the full mutable URL
Browse files Browse the repository at this point in the history
  • Loading branch information
fricklerhandwerk committed Mar 2, 2024
1 parent ffb418f commit 926f8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ let
sed '/^#/d;/^$/d;s#^\(.*\) \(.*\) #/manual/nix/${version nix}\1 /manual/nix/${version nix}\2 #g' ${nix.src}/doc/manual/_redirects >> $out/_redirects
'';
shortlink = release: nix: ''
echo /nix/manual/${release} /nix/manual/${nix.version}/ 302 >> $out/_redirects
echo /nix/manual/${release}/* /nix/manual/${nix.version}/:splat 302 >> $out/_redirects
'';
in
''
Expand Down

0 comments on commit 926f8fa

Please sign in to comment.