1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 12:23:48 +01:00

Send correct header, application/json not text/json

This commit is contained in:
8chan 2015-03-10 16:44:20 -07:00
parent 34ece2ea1c
commit 7986905078

View File

@ -10,7 +10,7 @@ if (!openBoard($_GET['board'])) {
error('No board.');
}
header('Content-Type: text/json');
header('Content-Type: application/json');
$safe_config['title'] = $board['title'];
$safe_config['subtitle'] = $board['subtitle'];
$safe_config['indexed'] = ($board['indexed'] == "1");