express-cdn icon indicating copy to clipboard operation
express-cdn copied to clipboard

404 response on amazon leads to failure

Open chrisrun opened this issue 13 years ago • 2 comments

In my setup with aws region eu-west-1, line 147 in main.js (if (err) throwError(err);) propagates a 404 response as an error if the assets dont exist in my bucket.

chrisrun avatar Apr 26 '13 11:04 chrisrun

This happens actually when it tries to read the assets from the local webserver and only if the webserver is not completely started up yet.

chrisrun avatar May 06 '13 07:05 chrisrun

I am feeling this issue as well. Should the upload be synchronous? It seems that when the local web server gets accessed during the knox upload, my site largely fails and needs to be rebuilt and reuploaded.

thadk avatar Jun 04 '13 21:06 thadk