fix vaultwarden domain

this makes vaultwarden send downloads work correctly
This commit is contained in:
xunuwu 2025-05-21 15:20:26 +02:00
parent 02385086ff
commit b10a2331c4
3 changed files with 10 additions and 3 deletions

View file

@ -7,4 +7,5 @@ in {
modules = [(dir + /${name})];
specialArgs = specialArgsFromHost name;
})) (b.readDir dir);
stripPort = url: builtins.match "(.*):[0-9]*" url |> builtins.head;
}