From 34c7e11d84059136ac8f526a6e179b29e62c6025 Mon Sep 17 00:00:00 2001 From: wn_ Date: Mon, 2 Jun 2025 20:57:31 +0000 Subject: Use the official JSON MIME type of 'application/json'. --- api/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/index.php b/api/index.php index 6110beb2b..8114e3a66 100644 --- a/api/index.php +++ b/api/index.php @@ -31,7 +31,7 @@ if (!empty($_SESSION["uid"])) { if (!Sessions::validate_session()) { - header("Content-Type: text/json"); + header("Content-Type: application/json"); print json_encode([ "seq" => -1, -- cgit v1.2.3-54-g00ecf