Skip to content

Commit

Permalink
Added proper status text to 404 error
Browse files Browse the repository at this point in the history
  • Loading branch information
2767mr committed Jan 27, 2020
1 parent 5fe7172 commit bc84424
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ccloader/js/packed.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class PackedManager {
const file = zip.file(this._assetPath(url));
if (file === null) {
return new Response(new Blob(), {
status: 404
status: 404,
statusText: 'not found'
});
}

Expand Down

0 comments on commit bc84424

Please sign in to comment.