Skip to content

Commit 60f3514

Browse files
author
Vasyl Yaremchuk
committed
Coderabit feedback fix.
1 parent 5112d5c commit 60f3514

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

website/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { getEnv } = require('./utils/env');
55
function createAposConfig() {
66
return {
77
shortName: 'apostrophe-site',
8-
baseUrl: getEnv('BASE_URL') || 'https://speedandfunction.com',
8+
baseUrl: process.env.BASE_URL || 'https://speedandfunction.com',
99

1010
// Session configuration
1111
modules: {

website/e2e/tests/screenshot-test.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test('Snapshot for Home Page', async ({ page }) => {
77
height: 720,
88
});
99

10-
await page.goto(getEnv('BASE_URL'), {
10+
await page.goto(process.env.BASE_URL || 'http://localhost:3000', {
1111
timeout: 60000,
1212
waitUntil: 'networkidle',
1313
});

0 commit comments

Comments
 (0)