fix headre

This commit is contained in:
apuc committed 2024-07-29 16:07:51 +03:00
1 parent 200763725e
commit f24ce58b85
4 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ class App
{
$dispatcher = new Dispatcher(App::$collector->getData());
$response = $dispatcher->dispatch($_SERVER['REQUEST_METHOD'], parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
header('Content-Type: ' . App::$responseType);
//header('Content-Type: ' . App::$responseType);
App::$header->set();
echo $response;
}