mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-29 14:56:36 +03:00
Add cache-control header.
This commit is contained in:
parent
4d982bddca
commit
a0fea1fdb6
@ -65,6 +65,7 @@ exports.handler = async (event, context) => {
|
||||
return {
|
||||
statusCode: 200,
|
||||
body: photoBuffer,
|
||||
headers: {'Cache-Control': 'public, max-age=1800'},
|
||||
isBase64Encoded: true,
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user