Skip to content

Commit 80c19fe

Browse files
authored
Merge pull request Gnathonic#253 from Gnathonic/fix/webdav-upload-path
fix: Add missing leading slash in WebDAV upload path
2 parents beba5a5 + f14aadb commit 80c19fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/workers/unified-file-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ async function uploadToWebDAV(
446446
await createWebDAVFolderRecursive(seriesFolderPath, serverUrl, username, password);
447447

448448
// Upload file
449-
const filePath = `${seriesFolderPath}/${filename}`;
449+
const filePath = `/${seriesFolderPath}/${filename}`;
450450
const fileUrl = `${serverUrl}${filePath}`;
451451
const authHeader = 'Basic ' + btoa(`${username}:${password}`);
452452

0 commit comments

Comments
 (0)