Skip to content
Permalink
Browse files

Add Content-Type header to rendered results

Fixes #198
  • Loading branch information
bojidar-bg committed Jan 2, 2020
1 parent 044b2c7 commit 4f4fb990c5beae441ad1175677043128cf33595b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/middleware.php
@@ -140,6 +140,7 @@
}

$response = $this->renderer->render($response, $template_names[$queryUri] . '.phtml', $params);
$response = $response->withHeader('Content-Type', 'text/html');
}
}

0 comments on commit 4f4fb99

Please sign in to comment.
You can’t perform that action at this time.