mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-12 15:52:56 +10:00
attempt to fix internal server error
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "reactive-resume",
|
"name": "reactive-resume",
|
||||||
"version": "3.7.2",
|
"version": "3.7.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "env-cmd --silent cross-var cross-env VERSION=$npm_package_version pnpm run --recursive --parallel --stream dev",
|
"dev": "env-cmd --silent cross-var cross-env VERSION=$npm_package_version pnpm run --recursive --parallel --stream dev",
|
||||||
|
|||||||
@ -5,6 +5,6 @@ export default registerAs('app', () => ({
|
|||||||
environment: process.env.NODE_ENV,
|
environment: process.env.NODE_ENV,
|
||||||
secretKey: process.env.SECRET_KEY,
|
secretKey: process.env.SECRET_KEY,
|
||||||
port: parseInt(process.env.PORT, 10) || 3100,
|
port: parseInt(process.env.PORT, 10) || 3100,
|
||||||
url: process.env.PUBLIC_URL || 'http://localhost:3000',
|
url: process.env.PUBLIC_URL || 'http://localhost:3000/',
|
||||||
serverUrl: process.env.PUBLIC_SERVER_URL || 'http://localhost:3100',
|
serverUrl: process.env.PUBLIC_SERVER_URL || 'http://localhost:3100/',
|
||||||
}));
|
}));
|
||||||
|
|||||||
@ -53,7 +53,7 @@ export class PrinterService implements OnModuleInit, OnModuleDestroy {
|
|||||||
|
|
||||||
const page = await this.browser.newPage();
|
const page = await this.browser.newPage();
|
||||||
|
|
||||||
await page.goto(`${url}/${username}/${slug}/printer?secretKey=${secretKey}`);
|
await page.goto(`${url}${username}/${slug}/printer?secretKey=${secretKey}`);
|
||||||
await page.waitForLoadState('networkidle');
|
await page.waitForLoadState('networkidle');
|
||||||
await page.waitForSelector('html.wf-active');
|
await page.waitForSelector('html.wf-active');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user