restrict requests to GET only

This commit is contained in:
Irfan 2020-09-13 12:53:26 +05:00
parent a95eeaa97b
commit 4f51d32833

View File

@ -29,7 +29,7 @@ ob_start("ob_gzhandler");
if (!env('APP_DEBUG')) {
header("Content-Type: application/json");
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: *");
header("Access-Control-Allow-Methods: GET");
}
$app->run();