Whoopsie...

This commit is contained in:
swagg boi 2022-05-28 10:23:06 -04:00
parent 3a8e034951
commit df50718b7e

View file

@ -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')
}