jinxia.mo před 2 roky
rodič
revize
ccf302c865
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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');