more work on attachments

* fix frontend env usage
This commit is contained in:
Philipinho
2024-05-22 23:24:57 +01:00
parent b06a78b6ec
commit ccf9d5d99f
31 changed files with 612 additions and 349 deletions

View File

@ -20,15 +20,19 @@ export class StorageService {
return this.storageDriver.exists(filePath);
}
async signedUrl(path: string, expireIn: number): Promise<string> {
async getSignedUrl(path: string, expireIn: number): Promise<string> {
return this.storageDriver.getSignedUrl(path, expireIn);
}
url(filePath: string): string {
getUrl(filePath: string): string {
return this.storageDriver.getUrl(filePath);
}
async delete(filePath: string): Promise<void> {
await this.storageDriver.delete(filePath);
}
getDriverName(): string {
return this.storageDriver.getDriverName();
}
}