From 3411b0993f6bf78f79adb2d7626ae8f486f0a7ea Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 26 Oct 2022 02:35:32 +0200 Subject: [PATCH] fix msg-to-log --- copyparty/web/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 346ad9c9..439c4760 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6195,7 +6195,7 @@ var msel = (function () { function cb() { xhrchk(this, L.fsm_xe1, L.fsm_xe2); - if (this.status !== 201) { + if (this.status < 200 || this.status > 201) { sf.textContent = 'error: ' + this.responseText; return; }