fix blobIds - they shouldn't contain + and / characters

This commit is contained in:
zadam
2023-07-28 15:55:26 +02:00
parent bd22863bb7
commit 72122d0f95
4 changed files with 26 additions and 8 deletions

View File

@@ -56,10 +56,9 @@ async function sync() {
catch (e) {
proxyToggle = !proxyToggle;
if (e.message &&
(e.message.includes('ECONNREFUSED') ||
e.message.includes('ERR_') || // node network errors
e.message.includes('Bad Gateway'))) {
if (e.message?.includes('ECONNREFUSED') ||
e.message?.includes('ERR_') || // node network errors
e.message?.includes('Bad Gateway')) {
ws.syncFailed();