Use the official JSON MIME type of 'application/json'.

This commit is contained in:
wn_
2025-06-02 20:57:31 +00:00
parent 2095052521
commit 34c7e11d84
5 changed files with 17 additions and 17 deletions

View File

@@ -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,