diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 74c9317..c812176 100644 --- a/src/index.js +++ b/src/index.js @@ -43,7 +43,7 @@ async function handleRequest(request) { // Append to/Add Vary header so browser will cache response correctly response.headers.append('Vary', 'Origin'); - response.headers.append('max-age', '300'); + response.headers.set('Cache-Control', 'max-age=300'); // Return it return response; |