diff --git a/webpack/lib/client/xhr.js b/webpack/lib/client/xhr.js index 0ab9326..d6b8e49 100644 --- a/webpack/lib/client/xhr.js +++ b/webpack/lib/client/xhr.js @@ -59,7 +59,7 @@ export default class XHRClientDriver extends ClientDriver{ case 4: // Got response - if( this.xhr.status === 200 ){ + if( this.xhr.status === 200 || this.xhr.status === 401 ){ this.event.onreceive(this.xhr.responseText); this.event.onclose();