Image-Flex
Image-Flex copied to clipboard
fix: Fixed issue where accessing an inexistent file returned 503
When file doesn't exist and S3 returns 403 in consequence, GetOrCreate lambda returns an error (cannot find method "replace" of undefined) and it causes a 503 Bad Gateway response.
This is because it tries to read from "sourceImage" which comes from querystring but querystring is actually undefined.