|
@@ -6,7 +6,8 @@ const args = require('minimist')(process.argv.slice(2));
|
|
const headless = args.headless || 'true';
|
|
const headless = args.headless || 'true';
|
|
const url = args.url || 'true';
|
|
const url = args.url || 'true';
|
|
const token = args.token || '';
|
|
const token = args.token || '';
|
|
-const filePath = getDate()+(args.path || 'index.pdf');
|
|
|
|
|
|
+// const filePath = getDate()+(args.path || 'index.pdf');
|
|
|
|
+const filePath = (args.path || 'index.pdf');
|
|
|
|
|
|
const puppeteer = require('puppeteer');
|
|
const puppeteer = require('puppeteer');
|
|
|
|
|