Browse Source

don't replace 4xx with empty contents

Gildas 7 years ago
parent
commit
b72b5734fd
1 changed files with 0 additions and 3 deletions
  1. 0 3
      lib/single-file/single-file-browser.js

+ 0 - 3
lib/single-file/single-file-browser.js

@@ -69,9 +69,6 @@ this.SingleFile = this.SingleFile || (() => {
 			} catch (error) {
 				return options && options.asDataURI ? "data:base64," : "";
 			}
-			if (resourceContent.status >= 400) {
-				return options && options.asDataURI ? "data:base64," : "";
-			}
 			let contentType = resourceContent.headers && resourceContent.headers.get("content-type");
 			let charSet;
 			if (contentType) {