From df50718b7e0b71bc7304984ec43424f88cb94ad4 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sat, 28 May 2022 10:23:06 -0400 Subject: [PATCH] Whoopsie... --- www-swagg.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-swagg.pl b/www-swagg.pl index 0399166..86f8a2a 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -34,7 +34,7 @@ under sub { $c->res->headers->header('Permissions-Policy', 'interest-cohort=()'); # Work around for swagg.net downtime 05/28/2022 - unless ($hostHeader =~ /^www\./ || app->mode() eq 'development') { + unless (app->mode() eq 'development' || $hostHeader =~ /^www\./) { $c->redirect_to('https://www.swagg.net') }