mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Fix incorrect Content-Type header when displaying JSON
This commit is contained in:
parent
8e5f0b53bd
commit
f73892de82
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ class DisplayHandler extends Handler
|
||||||
*/
|
*/
|
||||||
public static function _printJSONHeader()
|
public static function _printJSONHeader()
|
||||||
{
|
{
|
||||||
header("Content-Type: text/html; charset=UTF-8");
|
header("Content-Type: text/javascript; charset=UTF-8");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue