14 lines
409 B
TypeScript
14 lines
409 B
TypeScript
import dotenv from 'dotenv';
|
|
// load environment variables from .env file
|
|
dotenv.config({quiet: true});
|
|
|
|
// Simple config object with just the values
|
|
export const appConfig = {
|
|
baseURL: process.env.GHOST_BASE_URL || 'http://localhost:2368',
|
|
|
|
auth: {
|
|
storageFile: 'playwright/.auth/user.json'
|
|
},
|
|
debugLogs: process.env.E2E_DEBUG_LOGS === 'true' || process.env.E2E_DEBUG_LOGS === '1'
|
|
};
|