failing test for #49

This commit is contained in:
Rich Harris
2017-12-24 21:34:28 -05:00
parent 75aedf4663
commit feddad42b2
2 changed files with 26 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ export function get(req, res, next) {
if (slug in lookup) {
res.set({
'Content-Type': 'application/json',
'Cache-Control': `max-age=${30 * 60 * 1e3}` // cache for 30 minutes
'Cache-Control': `no-cache`
});
res.end(lookup[slug]);