chore: nf-fmt-nix

This commit is contained in:
arcnmx 2024-10-02 21:33:38 -07:00
parent 7cdcaad10d
commit d04959b11a
5 changed files with 87 additions and 44 deletions

View file

@ -72,7 +72,10 @@ in {
return = "302 https://wiki.${domain}/minecraft/";
};
"/minecraft/map" = {xvars, ...}: let
defaultMap = if minecraft.ports.bluemap.enable then "bmap" else "dmap";
defaultMap =
if minecraft.ports.bluemap.enable
then "bmap"
else "dmap";
in {
return = "302 ${xvars.get.scheme}://${xvars.get.host}/minecraft/${defaultMap}/";
};