fix: test

This commit is contained in:
TrèsAbhi committed 2024-02-07 13:40:14 -06:00
1 parent 846c2a4962
commit 92bb4af5ec
1 file changed
+5
+5
View File
@@ -1,6 +1,11 @@
const devHostStartNames = ['blitzkrieg-', 'localhost'];
export default function isDev() {
console.log(
process.env,
typeof window !== 'undefined' && window.location.host,
);
return (
process.env.NODE_ENV === 'development' ||
(typeof window !== 'undefined' &&