Move user agent check to function

This commit is contained in:
Dylan
2023-06-30 20:41:20 +01:00
parent a738923316
commit 1e84875a8f
2 changed files with 8 additions and 5 deletions

View File

@ -134,7 +134,7 @@ def lambda_handler(event, context):
"headers":
{
"Content-Type": "image/jpeg",
"Cache-Control": "max-age=86400"
"Cache-Control": "public, max-age=86400"
},
'body': combined_str,
'isBase64Encoded': True