Commit aba8cb7a authored by Grant's avatar Grant
Browse files

ci

parent 83647a74
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -18,10 +18,7 @@ export class MultipartMixed {
  }

  send(res: Express.Response) {
    res.setHeader(
      "Content-Type",
      `multipart/mixed; boundary="${this.boundary}"`
    );
    res.setHeader("Content-Type", `multipart/mixed; boundary=${this.boundary}`);
    // send buffer directly to avoid express modifying headers
    // @see https://github.com/expressjs/express/issues/2654
    res.send(Buffer.from(this.toString()));