fix .env.production
This commit is contained in:
@@ -42,8 +42,8 @@ onMounted(async () => {
|
|||||||
telegramBtn.value.appendChild(script)
|
telegramBtn.value.appendChild(script)
|
||||||
|
|
||||||
// сообщаем Telegram WebApp, что UI готов
|
// сообщаем Telegram WebApp, что UI готов
|
||||||
console.log(tgApp.initData)
|
console.log(tgApp.value.initData)
|
||||||
if (tgApp.initData) {
|
if (tgApp.value.initData) {
|
||||||
tgData.value = tgApp.initDataUnsafe
|
tgData.value = tgApp.initDataUnsafe
|
||||||
console.log(tgData.value)
|
console.log(tgData.value)
|
||||||
if (tgData.value.user?.id != null) {
|
if (tgData.value.user?.id != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user