From d97f310235dea2e5b4b57c93c21102ef99f9ea94 Mon Sep 17 00:00:00 2001 From: nebulous Date: Mon, 6 Nov 2023 10:47:46 -0500 Subject: [PATCH] Add infinitude host match Allow proxying traffic with hostname matching `infinitude` - which should hopefully allow people to set up their own local dns entry and point their thermostat to it, divorcing from Carrier's cloud services more completely. --- infinitude | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infinitude b/infinitude index 64d33b7..31acaae 100755 --- a/infinitude +++ b/infinitude @@ -120,7 +120,7 @@ hook before_dispatch => sub { my $url = $c->req->url; - if ($url->to_abs->host =~ /(bryant|carrier|ioncomfort|127.0.0.1)/i) { # request from stat or test harness + if ($url->to_abs->host =~ /(bryant|carrier|ioncomfort|infinitude|127.0.0.1)/i) { # request from stat or test harness my $nk = $url->path->to_string; $nk =~ s/\//-/g; $nk =~ s/^-//;