mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
add gzip
This commit is contained in:
parent
13514ecbde
commit
a625777780
@ -24,6 +24,7 @@ $app = require __DIR__.'/../bootstrap/app.php';
|
||||
|
|
||||
*/
|
||||
|
||||
ob_start("ob_gzhandler");
|
||||
header('Content-Type: application/json');
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
header("Access-Control-Allow-Methods: *");
|
||||
|
Loading…
x
Reference in New Issue
Block a user