Merge branch 'dev' into staging

This commit is contained in:
Vins 2024-02-20 14:16:30 +01:00
commit 7037134981

View File

@ -35,7 +35,8 @@ export default class OfficeRibController extends ApiController {
try {
const file = await this.officeRibService.getByUid(officeId, fileName!);
response.attachment(fileName!);
response.attachment(fileName!);
response.setHeader("Access-Control-Expose-Headers", "Content-Disposition");
response.send(file.Body);
} catch (error) {
this.httpInternalError(response, error);