Enable pdf export

This commit is contained in:
Dolan
2017-12-05 00:16:21 +00:00
parent fb08f79344
commit a6bba0bc6c
6 changed files with 56 additions and 13 deletions

View File

@ -21,6 +21,8 @@ export class ExpressPacker extends Packer {
}
public pack(name: string, options: IPackOptions): void {
name = name.replace(/.docx$/, "");
this.res.attachment(`${name}.docx`);
super.compile(this.res);
}