Skip to content

Commit

Permalink
Re-enable device requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Jan 10, 2025
1 parent 2850b05 commit 9805811
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/webapp/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@
gtag('js', new Date());
gtag('config', 'G-V0K5J7F5G6');

// const bowser = window.bowser.getParser(window.navigator.userAgent);
// if ((typeof TelegramWebviewProxy === "undefined" && !Telegram?.WebApp?.initData) || (bowser.getPlatform()?.type === 'desktop')) {
// window.location.href = "/not-support.html";
// }
const bowser = window.bowser.getParser(window.navigator.userAgent);
if ((typeof TelegramWebviewProxy === "undefined" && !Telegram?.WebApp?.initData) || (bowser.getPlatform()?.type === 'desktop')) {
window.location.href = "/not-support.html";
}
</script>

<!-- Import main JS logic -->
Expand Down

0 comments on commit 9805811

Please sign in to comment.