yz-yuki-plugin 1.0.2-rc.5 → 1.0.2-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,7 +22,7 @@ class YukiPuppeteerRender extends Puppeteer {
|
|
|
22
22
|
if (Options?.header) {
|
|
23
23
|
await page.setExtraHTTPHeaders(Options.header);
|
|
24
24
|
}
|
|
25
|
-
await page.goto(`file://${htmlPath}`, { timeout: Options?.timeout ?? 120000, waitUntil: ["load", "
|
|
25
|
+
await page.goto(`file://${htmlPath}`, { timeout: Options?.timeout ?? 120000, waitUntil: ["load", "networkidle0"] });
|
|
26
26
|
const body = await page.$(Options?.tab ?? 'body');
|
|
27
27
|
if (!body)
|
|
28
28
|
return false;
|
package/package.json
CHANGED