From f3783019c93b936ff1f3f3e0613085515cc67446 Mon Sep 17 00:00:00 2001 From: JANGHYUNn Date: Thu, 18 Jan 2024 16:19:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=A0=84=20=EB=9E=9C=EB=8D=94?= =?UTF-8?q?=EB=A7=81=EC=9D=BC=20=EA=B2=BD=EC=9A=B0=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=9D=B8=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/router/Router.js | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b68be30..c7a20e8 100644 --- a/package.json +++ b/package.json @@ -179,8 +179,8 @@ ], "puppeteerExecutablePath": "/bin/chromium-browser", "include": [ - "/", - "/control" + "/control", + "/main/dashboard" ] }, "homepage": "" diff --git a/src/router/Router.js b/src/router/Router.js index ae35214..a28dd7d 100644 --- a/src/router/Router.js +++ b/src/router/Router.js @@ -73,8 +73,11 @@ const Router = () => { action = route.meta.action ? route.meta.action : null; resource = route.meta.resource ? route.meta.resource : null; } - - if (isLogin === false && !route.meta?.authRoute) { + if ( + isLogin === false && + !route.meta?.authRoute && + !window.navigator.userAgent === 'ReactSnap' + ) { return ; } else { // switch (props.route.path) {