You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Desktop: Fixes #4426: Improved handling of empty paths for Joplin Server sync target
This commit is contained in:
@@ -48,7 +48,7 @@ export default class SyncTargetJoplinServer extends BaseSyncTarget {
|
||||
|
||||
const api = new JoplinServerApi(apiOptions);
|
||||
const driver = new FileApiDriverJoplinServer(api);
|
||||
const fileApi = new FileApi(() => `root:/${options.directory()}`, driver);
|
||||
const fileApi = new FileApi(options.directory, driver);
|
||||
fileApi.setSyncTargetId(this.id());
|
||||
await fileApi.initialize();
|
||||
return fileApi;
|
||||
|
||||
Reference in New Issue
Block a user