mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 01:32:02 +10:00
- update translations
- add mail_from env var - update docs for swarm deployment
This commit is contained in:
@ -102,7 +102,7 @@ export class StorageService implements OnModuleInit {
|
||||
const extension = type === "resumes" ? "pdf" : "jpg";
|
||||
const storageUrl = this.configService.get<string>("STORAGE_URL");
|
||||
const filepath = `${userId}/${type}/${filename}.${extension}`;
|
||||
const url = `${storageUrl}/${this.bucketName}/${filepath}`;
|
||||
const url = `${storageUrl}/${filepath}`;
|
||||
const metadata =
|
||||
extension === "jpg"
|
||||
? { "Content-Type": "image/jpeg" }
|
||||
|
||||
Reference in New Issue
Block a user