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;
|
||||
}
|
||||
|
||||
$response->json($_COOKIE);
|
||||
// $response
|
||||
// ->addHeader('Cache-Control', 'public, max-age='.$time)
|
||||
// ->addHeader('Expires', date('D, d M Y H:i:s', time() + $time).' GMT') // 45 days cache
|
||||
// ->json($output);
|
||||
$response
|
||||
->addHeader('Cache-Control', 'public, max-age='.$time)
|
||||
->addHeader('Expires', date('D, d M Y H:i:s', time() + $time).' GMT') // 45 days cache
|
||||
->json($output);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue