api-screenshot
api-screenshot copied to clipboard
Handling timeout
// We need to return 200 here or Firefox won’t display the image // HOWEVER a 200 means that if it times out on the first attempt it will stay the default image until the next build.
Could you do a 302 to the default image instead? On a second render, the browser will check it again, since it's a temporary redirect.