1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 13:29:22 +00:00

Fix little issue

This commit is contained in:
Pierre HUBERT 2019-11-23 16:23:29 +01:00
parent b6294870ce
commit db686075f0

View File

@ -16,7 +16,7 @@ import { join } from "path";
*/ */
export function pathUserData(uri: string = "", sysPath: boolean = false) : string { export function pathUserData(uri: string = "", sysPath: boolean = false) : string {
if(!sysPath) if(!sysPath)
return join(conf().storageURL, uri); return join(conf().storageURL, uri).replace(":/", "://");
else else
return join(conf().storagePath, uri); return join(conf().storagePath, uri);
} }