1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

Fix tests

This commit is contained in:
Eldad Fux 2020-04-08 20:26:09 +03:00
parent 73d4012934
commit 2bb543dd77

View file

@ -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);
}
);