Add Content-Type header to rendered results

Fixes #198
This commit is contained in:
Bojidar Marinov
2020-01-02 11:08:17 +02:00
parent 044b2c7d04
commit 4f4fb990c5

View File

@@ -140,6 +140,7 @@ if (FRONTEND) {
}
$response = $this->renderer->render($response, $template_names[$queryUri] . '.phtml', $params);
$response = $response->withHeader('Content-Type', 'text/html');
}
}