mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +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'];
|
const devHostStartNames = ['blitzkrieg-', 'localhost'];
|
||||||
|
|
||||||
export default function isDev() {
|
export default function isDev() {
|
||||||
|
console.log(
|
||||||
|
process.env,
|
||||||
|
typeof window !== 'undefined' && window.location.host,
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
process.env.NODE_ENV === 'development' ||
|
process.env.NODE_ENV === 'development' ||
|
||||||
(typeof window !== 'undefined' &&
|
(typeof window !== 'undefined' &&
|
||||||
|
|||||||
Reference in new issue
Block a user