mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 10:11:31 +10:00
attempt to fix internal server error
This commit is contained in:
@ -5,6 +5,6 @@ export default registerAs('app', () => ({
|
||||
environment: process.env.NODE_ENV,
|
||||
secretKey: process.env.SECRET_KEY,
|
||||
port: parseInt(process.env.PORT, 10) || 3100,
|
||||
url: process.env.PUBLIC_URL || 'http://localhost:3000',
|
||||
serverUrl: process.env.PUBLIC_SERVER_URL || 'http://localhost:3100',
|
||||
url: process.env.PUBLIC_URL || 'http://localhost:3000/',
|
||||
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();
|
||||
|
||||
await page.goto(`${url}/${username}/${slug}/printer?secretKey=${secretKey}`);
|
||||
await page.goto(`${url}${username}/${slug}/printer?secretKey=${secretKey}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForSelector('html.wf-active');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user