Skip to content

Commit

Permalink
[FIX] userAgent 구분자 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
boeunLee committed May 9, 2024
1 parent 1bd8c80 commit b443b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Router = () => {
// TODO 추후 android도 추가 예정
// ios기기, PC 접속 구분
const userAgent = navigator.userAgent;
const isAppAccess = userAgent.toLowerCase().includes('iphone');
const isAppAccess = userAgent.match(/like Mac OS X/i);

return (
<BrowserRouter>
Expand Down

0 comments on commit b443b25

Please sign in to comment.