Fix tests
This commit is contained in:
parent
73d4012934
commit
2bb543dd77
1 changed files with 4 additions and 5 deletions
|
@ -59,11 +59,10 @@ $utopia->get('/v1/locale')
|
||||||
$output['currency'] = $currency;
|
$output['currency'] = $currency;
|
||||||
}
|
}
|
||||||
|
|
||||||
$response->json($_COOKIE);
|
$response
|
||||||
// $response
|
->addHeader('Cache-Control', 'public, max-age='.$time)
|
||||||
// ->addHeader('Cache-Control', 'public, max-age='.$time)
|
->addHeader('Expires', date('D, d M Y H:i:s', time() + $time).' GMT') // 45 days cache
|
||||||
// ->addHeader('Expires', date('D, d M Y H:i:s', time() + $time).' GMT') // 45 days cache
|
->json($output);
|
||||||
// ->json($output);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue