mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 11:39:51 +01:00
feat: vercel dev
This commit is contained in:
1 parent
72c90b3e92
commit
dc85b49f9c
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
export default function isDev() {
|
export default function isDev() {
|
||||||
return (
|
return (
|
||||||
process.env.NODE_ENV === 'development' ||
|
process.env.NODE_ENV === 'development' ||
|
||||||
window?.location.host.startsWith('blitzkrieg-git')
|
(typeof window !== 'undefined' &&
|
||||||
|
window.location.host.startsWith('blitzkrieg-git'))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user