Whoopsie...
This commit is contained in:
parent
3a8e034951
commit
df50718b7e
|
@ -34,7 +34,7 @@ under sub {
|
||||||
$c->res->headers->header('Permissions-Policy', 'interest-cohort=()');
|
$c->res->headers->header('Permissions-Policy', 'interest-cohort=()');
|
||||||
|
|
||||||
# Work around for swagg.net downtime 05/28/2022
|
# 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')
|
$c->redirect_to('https://www.swagg.net')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue