mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
restrict requests to GET only
This commit is contained in:
parent
a95eeaa97b
commit
4f51d32833
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user