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 61a2c82 commit f8d3689Copy full SHA for f8d3689
packages/node_modules/overmind/src/index.ts
@@ -189,7 +189,9 @@ export class Overmind<Config extends Configuration> implements Configuration {
189
190
if (
191
options.devtools ||
192
- (location.hostname === 'localhost' && options.devtools !== false)
+ (typeof location !== 'undefined' &&
193
+ location.hostname === 'localhost' &&
194
+ options.devtools !== false)
195
) {
196
this.initializeDevtools(
197
options.devtools === true ? 'localhost:3031' : options.devtools,
0 commit comments