api-screenshot icon indicating copy to clipboard operation
api-screenshot copied to clipboard

Handling timeout

Open earthboundkid opened this issue 2 years ago • 0 comments

  // 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.

earthboundkid avatar Aug 04 '21 18:08 earthboundkid