🐛home directory fix
This commit is contained in:
@@ -311,5 +311,7 @@ export class FileServiceImpl {
|
||||
}
|
||||
|
||||
function getFilePath(entity: File): string {
|
||||
return `/files/${entity.company_id}/${entity.user_id || "anonymous"}/${entity.id}`;
|
||||
return `${gr.platformServices.storage.getHomeDir()}/files/${entity.company_id}/${
|
||||
entity.user_id || "anonymous"
|
||||
}/${entity.id}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user