diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-06-03 16:57:15 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-06-03 16:57:15 +0300 |
| commit | 87fb1de91dda98c3deeb89b2c58548d5d8c4faf6 (patch) | |
| tree | fcc415f1ad6eaa94f8be2e3fe3a0c8c178f6abfe /api | |
| parent | 20950525216a45565953004f785ebbcbdded31b9 (diff) | |
| parent | 34c7e11d84059136ac8f526a6e179b29e62c6025 (diff) | |
Merge branch 'feature/json-mime-type' into 'master'
Use the official JSON MIME type of 'application/json'
See merge request tt-rss/tt-rss!146
Diffstat (limited to 'api')
| -rw-r--r-- | api/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
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, |