lavoce #42
@@ -37,8 +37,7 @@ import {
|
||||
} from '@ant-design/icons';
|
||||
|
||||
const { Text } = Typography;
|
||||
const url = new URL(import.meta.env.VITE_WHATSAPP_URL);
|
||||
const host = url.hostname;
|
||||
const host = window.location.hostname;
|
||||
|
||||
const isLocal =
|
||||
host === '127.0.0.1' ||
|
||||
|
||||
Reference in New Issue
Block a user