mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: test
This commit is contained in:
1 parent
846c2a4962
commit
92bb4af5ec
1 file changed
+5
@@ -1,6 +1,11 @@
|
||||
const devHostStartNames = ['blitzkrieg-', 'localhost'];
|
||||
|
||||
export default function isDev() {
|
||||
console.log(
|
||||
process.env,
|
||||
typeof window !== 'undefined' && window.location.host,
|
||||
);
|
||||
|
||||
return (
|
||||
process.env.NODE_ENV === 'development' ||
|
||||
(typeof window !== 'undefined' &&
|
||||
|
||||
Reference in new issue
Block a user