mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02: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() {
|
||||
return (
|
||||
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