We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be3d769 commit dec98e6Copy full SHA for dec98e6
1 file changed
apps/browser/src/index.ts
@@ -7,7 +7,9 @@ import { contextModule } from './modules/context'
7
import { devicesModule } from './modules/devices'
8
import { coresModule } from './modules/cores'
9
10
-const config = loadConfig('../../config.toml')
+const configuredPath = process.env.MEMOH_CONFIG_PATH?.trim() || process.env.CONFIG_PATH?.trim()
11
+const configPath = configuredPath && configuredPath.length > 0 ? configuredPath : '../../config.toml'
12
+const config = loadConfig(configPath)
13
14
await initBrowsers()
15
0 commit comments