From 8949d5db901fcf492c762916b6d853b1d85c3e17 Mon Sep 17 00:00:00 2001 From: Dirk Reske Date: Thu, 20 Jun 2024 11:40:31 +0200 Subject: [PATCH] SlidingSync does not work when hostet on path other than / (root) --- src/SlidingSyncManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SlidingSyncManager.ts b/src/SlidingSyncManager.ts index 4885ffa8dc5..7e17b1ecfe5 100644 --- a/src/SlidingSyncManager.ts +++ b/src/SlidingSyncManager.ts @@ -405,7 +405,7 @@ export class SlidingSyncManager { const proxyUrl = await this.getProxyFromWellKnown(client); if (proxyUrl != undefined) { - const response = await fetch(new URL("/client/server.json", proxyUrl), { + const response = await fetch(new URL("client/server.json", proxyUrl), { method: Method.Get, signal: timeoutSignal(10 * 1000), // 10s });