Skip to content

Commit

Permalink
Merge pull request #225 from novasamatech/fix/telegram_api
Browse files Browse the repository at this point in the history
Fix: Telegram api
  • Loading branch information
tuul-wq authored and stepanLav committed Oct 4, 2024
1 parent bd0b013 commit 377f1ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const links: LinksFunction = () => [
{ rel: 'stylesheet', href: stylesheet },
{ rel: 'shortcut icon', href: 'data:image/x-icon;,', type: 'image/x-icon' },

{ rel: 'preconnect', href: 'https://telegram.org/js/telegram-web-app.js' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossOrigin: 'anonymous' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap' },
Expand Down Expand Up @@ -52,11 +53,11 @@ export const Layout = ({ children }: PropsWithChildren) => (
<head>
<Meta />
<Links />
<script defer src="https://telegram.org/js/telegram-web-app.js" />
</head>
<body>
<DataContext>{children}</DataContext>
<ScrollRestoration />
<script src="https://telegram.org/js/telegram-web-app.js" />
<Scripts />
</body>
</html>
Expand Down

0 comments on commit 377f1ea

Please sign in to comment.