pass_typer: Add matching rule for TSRC Pidgey servers
This commit is contained in:
parent
bb68fea1b4
commit
f2c68a5f17
@ -22,6 +22,8 @@ def alias(server_name):
|
|||||||
return f"cms/{user}{at}ipads"
|
return f"cms/{user}{at}ipads"
|
||||||
case [user, at, ("octopi-taz-6" | "octopi-lulzbot-mini")]:
|
case [user, at, ("octopi-taz-6" | "octopi-lulzbot-mini")]:
|
||||||
return f"cms/{user}{at}octopi"
|
return f"cms/{user}{at}octopi"
|
||||||
|
case [user, at, server] if re.match(".*-pidgey(.vpn)?", server):
|
||||||
|
return f"tsrc/pidgey"
|
||||||
case _:
|
case _:
|
||||||
return f"**/{server_name}"
|
return f"**/{server_name}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user