Explorar el Código

feat: fix the logtics of client joining webdav url

butterfly hace 1 año
padre
commit
fd8d0a1746
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/utils/cloud/webdav.ts

+ 1 - 1
app/utils/cloud/webdav.ts

@@ -75,7 +75,7 @@ export function createWebDavClient(store: SyncStore) {
       }
 
       let url;
-      if (proxyUrl.length > 0 || proxyUrl === "/") {
+      if (proxyUrl.length > 0) {
         let u = new URL(proxyUrl + "api/webdav/" + path);
         // add query params
         u.searchParams.append("endpoint", config.endpoint);