Skip to content

Commit

Permalink
Updated link to instant view true
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsraham committed Aug 23, 2024
1 parent e2e2c6e commit 58dfb6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function App() {
};

const login = async () => {
// const URL = import.meta.env.VITE_SERVER_URL || "https://sfa-web-ton-telegram-server.vercel.app";
WebApp.openTelegramLink("https://www.google.com");
const URL = import.meta.env.VITE_SERVER_URL || "https://sfa-web-ton-telegram-server.vercel.app";
WebApp.openLink(`${URL}/login`, {try_instant_view:true});
};

const getUserInfo = async () => {
Expand Down

0 comments on commit 58dfb6a

Please sign in to comment.