mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(access): modpack permalinks
This commit is contained in:
parent
3a7bea8a8a
commit
3e5c5f3130
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ in {
|
|||
"/minecraft/wiki" = {
|
||||
return = "302 https://wiki.${domain}/minecraft/";
|
||||
};
|
||||
"~ '^/minecraft/modpack/(\\S*)$'" = {
|
||||
return = ''308 "https://gensokyo-zone.github.io/minecraft-modpack/$1"'';
|
||||
};
|
||||
"/minecraft/map" = {xvars, ...}: let
|
||||
defaultMap =
|
||||
if minecraft.ports.bluemap.enable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue