pull/26/head
Starbeamrainbowlabs 4 years ago
parent ca955f3c89
commit 0a5588a905
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2

@ -78,6 +78,8 @@ class FetchData implements IAction {
$response = json_encode($data);
// 4: Send response
// TODO: Add cache-control headers here in production mode only
header("content-type: application/json");
header("x-time-taken: " . PerfFormatter::format_perf_data($start_time, $start_handle, $start_encode));
echo($response);

Loading…
Cancel
Save