Fix SSR puppeteer page initialization

This commit is contained in:
Mononaut
2023-08-19 21:05:28 +09:00
parent 126e87a746
commit 7f2a459575
3 changed files with 20 additions and 28 deletions

View File

@@ -5,7 +5,7 @@ import * as https from 'https';
import config from './config';
import { Cluster } from 'puppeteer-cluster';
import ReusablePage from './concurrency/ReusablePage';
import ReusableSSRPage from './concurrency/ReusablePage';
import ReusableSSRPage from './concurrency/ReusableSSRPage';
import { parseLanguageUrl } from './language/lang';
import { matchRoute } from './routes';
import nodejsPath from 'path';