Removed commented lines
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-07-09 08:45:17 +02:00
parent 65dd591cf4
commit 0335d6c51e
2 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,4 @@
const fs = require('fs');
// const pdf = require('html-pdf');
const puppeteer = require('puppeteer');
const path = require('path');
const config = require('./config');

View File

@ -10,8 +10,6 @@ module.exports = app => {
res.setHeader('Content-type', 'application/pdf');
res.setHeader('Content-Disposition', `inline; filename="${fileName}"`);
//stream.pipe(res);
res.end(stream);
} catch (error) {
next(error);