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:
parent
34ece2ea1c
commit
7986905078
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user