nixos modules for convenient deployment of cloud resources

fix(hetzner): actually fix urls use variable properly

ptr.pet 8049f0b5 696af4a2

verified
Changed files
+2 -2
firewall
provider
hetzner
+2 -2
firewall/provider/hetzner/app.nu
···
return $"https://api.hetzner.cloud/v1($path)"
}
def post [path: string] {
-
$in | http post -e --full -H $authHeader --content-type application/json (makeApiUrl path)
}
def get [path: string] {
-
http get -e --full -H $authHeader (makeApiUrl path)
}
# first fetch firewall to see if it even exists
···
return $"https://api.hetzner.cloud/v1($path)"
}
def post [path: string] {
+
$in | http post -e --full -H $authHeader --content-type application/json (makeApiUrl $path)
}
def get [path: string] {
+
http get -e --full -H $authHeader (makeApiUrl $path)
}
# first fetch firewall to see if it even exists