mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
fix blobIds - they shouldn't contain + and / characters
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user