fix headre
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user