Fix mime type detection for performance indicators.
This commit is contained in:
parent
d820d43760
commit
e004e31857
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ sub handler {
|
|||
if ($mimeType eq 'text/css') {
|
||||
$session->output->print("\n/* Page generated in $t seconds. */\n");
|
||||
}
|
||||
elsif ($mimeType eq 'text/html') {
|
||||
elsif ($mimeType =~ m{text/html}) {
|
||||
$session->output->print("\nPage generated in $t seconds.\n");
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue