From f6b618b7672b732dd6f2aeb3c669d7feef4290cd Mon Sep 17 00:00:00 2001 From: "aton.xia" Date: Wed, 17 Aug 2022 09:14:47 +0800 Subject: [PATCH] feat: delete domain name verification --- apps/storefront/src/App.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/storefront/src/App.tsx b/apps/storefront/src/App.tsx index 7e15f750..6a6fc493 100644 --- a/apps/storefront/src/App.tsx +++ b/apps/storefront/src/App.tsx @@ -77,13 +77,9 @@ export default function App() { useEffect(() => { const { - host, pathname, + pathname, } = window.location - if (!/mybigcommerce.com$/.test(host)) { - return - } - if (/login.php/.test(pathname)) { setOpenPage({ isOpen: true,