mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +00:00
Fix little issue
This commit is contained in:
parent
b6294870ce
commit
db686075f0
@ -16,7 +16,7 @@ import { join } from "path";
|
||||
*/
|
||||
export function pathUserData(uri: string = "", sysPath: boolean = false) : string {
|
||||
if(!sysPath)
|
||||
return join(conf().storageURL, uri);
|
||||
return join(conf().storageURL, uri).replace(":/", "://");
|
||||
else
|
||||
return join(conf().storagePath, uri);
|
||||
}
|
Loading…
Reference in New Issue
Block a user