sotre profile avatars in R2..
This commit is contained in:
@@ -30,6 +30,8 @@ export class CurriculumController {
|
||||
this.getBearerToken(request),
|
||||
referenceId,
|
||||
);
|
||||
if (download.url) return response.redirect(download.url);
|
||||
|
||||
response.setHeader('content-type', download.contentType);
|
||||
return response.download(download.path, download.fileName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user