Skip to content

Commit

Permalink
attempt to fix internal server error
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed Jun 7, 2023
1 parent 72e610b commit 5ee99cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactive-resume",
"version": "3.7.2",
"version": "3.7.3",
"private": true,
"scripts": {
"dev": "env-cmd --silent cross-var cross-env VERSION=$npm_package_version pnpm run --recursive --parallel --stream dev",
Expand Down
4 changes: 2 additions & 2 deletions server/src/config/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
}));
2 changes: 1 addition & 1 deletion server/src/printer/printer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 5ee99cf

Please sign in to comment.