diff --git a/route/api.gnuboard.php b/route/api.gnuboard.php index 95f6fed..55b2228 100644 --- a/route/api.gnuboard.php +++ b/route/api.gnuboard.php @@ -58,6 +58,6 @@ switch($action) { } } -header("Content-Type: application/json"); +set_header_content_type("json"); echo json_encode($result);