diff --git a/public/index.php b/public/index.php index 3bcee0b..2c21596 100644 --- a/public/index.php +++ b/public/index.php @@ -18,5 +18,7 @@ if ($_SERVER['APP_DEBUG']) { $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']); $request = Request::createFromGlobals(); $response = $kernel->handle($request); +$response->headers->set('X-Frame-Options', 'DENY'); +$response->headers->set('X-Content-Type-Options', 'nosniff'); $response->send(); -$kernel->terminate($request, $response); +$kernel->terminate($request, $response); \ No newline at end of file