jinxia.mo il y a 2 ans
Parent
commit
ccf302c865
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      public/collectImgNew/index.js

+ 2 - 1
public/collectImgNew/index.js

@@ -6,7 +6,8 @@ const args = require('minimist')(process.argv.slice(2));
 const headless = args.headless || 'true';
 const url = args.url || 'true';
 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');