From cad78b3680f20d550400522ec4524b3551df0c27 Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 21 Feb 2024 19:00:26 +0100 Subject: fix(system/services/invidious-router): change allowed_status_codes type to int --- system/services/invidious-router/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/system/services/invidious-router/default.nix b/system/services/invidious-router/default.nix index ca7ce6d..383feea 100644 --- a/system/services/invidious-router/default.nix +++ b/system/services/invidious-router/default.nix @@ -12,11 +12,17 @@ enabled = true; url = "https://api.invidious.io/instances.json"; filter_regions = true; - allowed_regions = ["AT" "DE" "CH"]; + allowed_regions = [ + "AT" + "DE" + "CH" + ]; }; healthcheck = { path = "/"; - allowed_status_codes = ["200"]; + allowed_status_codes = [ + 200 + ]; timeout = "1s"; interval = "10s"; filter_by_response_time = { @@ -28,7 +34,9 @@ nginx = { enable = true; domain = "invidious-router.sils.li"; - extraDomains = ["video.fosswelt.org"]; + extraDomains = [ + "video.fosswelt.org" + ]; }; }; } -- cgit 1.4.1