fix headre
This commit is contained in:
1 parent
200763725e
commit
f24ce58b85
4 files changed
+7
-1
No files matched your search
+1
-1
@@ -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