mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore: nf-fmt-nix
This commit is contained in:
parent
7cdcaad10d
commit
d04959b11a
5 changed files with 87 additions and 44 deletions
|
|
@ -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}/";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue