Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
SlidingSync does not work when hostet on path other than / (root)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Reske committed Jun 20, 2024
1 parent 76844f5 commit 8949d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlidingSyncManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand Down

0 comments on commit 8949d5d

Please sign in to comment.