feat: current version is always on top

This commit is contained in:
silver 2024-06-14 21:34:43 +01:00
parent 5c8dcdef00
commit 1d3549d541
Signed by: silver
GPG key ID: 54E2C71918E93B74
4 changed files with 103 additions and 36 deletions

View file

@ -57,8 +57,7 @@ in {
forceSSL = true;
useACMEHost = "skynet";
locations = {
# this alwas points to teh current version of teh site
"/".root = "${inputs.skynet_website_2017.defaultPackage."x86_64-linux"}";
"/".root = "${inputs.skynet_website.defaultPackage."x86_64-linux"}";
# this redirects old links to new format
"~* ~(?<username>[a-z_0-9]*)(?<files>\\S*)$" = {