diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..4299bcf --- /dev/null +++ b/deploy.sh @@ -0,0 +1,7 @@ + +ssh root@213.226.71.138 " + cd /root/luminic/space/app && + git pull && + npm run build && + cp -r dist/* /var/www/app.luminic.space/ +" \ No newline at end of file diff --git a/src/components/auth/LoginPage.vue b/src/components/auth/LoginPage.vue index 2e367ff..61e62c1 100644 --- a/src/components/auth/LoginPage.vue +++ b/src/components/auth/LoginPage.vue @@ -21,7 +21,7 @@ const telegramBtn = ref(null) async function onTelegramAuth(user) { console.log('TG login success', user) - alert(`Logged in as ${user.first_name} (@${user.username})`) + // alert(`Logged in as ${user.first_name} (@${user.username})`) // 👉 здесь отправляешь user.auth_data на бэк для проверки Telegram-sign await userStore.tgLogin(user.id, user.first_name, user.last_name, user.username, user.photo_url, user.auth_date, user.hash) }