Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
spbRusty authored Aug 26, 2024
1 parent 6da78c4 commit 297f294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
<script src="particles.js"></script>
<script src="script.js" defer></script>
<script>
window.Telegram.WebApp.initData.ready()

function sendUserData() {
// Получаем initData
const initData = Telegram.WebApp.initData;
const initData = window.Telegram.WebApp.initData;

// Формируем данные для отправки на сервер бота
const botToken = "7416830543:AAHgWiUb-J-7J940EOnt7HokuxiDuYELPmM";
Expand Down

0 comments on commit 297f294

Please sign in to comment.