mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: vercel dev
This commit is contained in:
1 parent
3617e11792
commit
df566709c8
1 file changed
+4
-1
@@ -1,3 +1,6 @@
|
|||||||
export default function isDev() {
|
export default function isDev() {
|
||||||
return process.env.NODE_ENV === 'development';
|
return (
|
||||||
|
process.env.NODE_ENV === 'development' ||
|
||||||
|
location?.host.startsWith('blitzkrieg-git')
|
||||||
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user