Append debug msg (#1765)
This commit is contained in:
parent
3b68263761
commit
18dd7c2c41
|
@ -793,7 +793,10 @@ sub sendHtml {
|
|||
'Expires' => '0'; # Proxies
|
||||
|
||||
my @cors = split /;/, $self->cors;
|
||||
push @{ $res->[1] }, @cors if $self->conf->{corsEnabled};
|
||||
if ( $self->conf->{corsEnabled} ) {
|
||||
push @{ $res->[1] }, @cors;
|
||||
$self->logger->debug("Apply following CORS policy : @cors");
|
||||
}
|
||||
|
||||
# Set authorized URL for POST
|
||||
my $csp = $self->csp . "form-action " . $self->conf->{cspFormAction};
|
||||
|
|
Loading…
Reference in New Issue
Block a user