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