fix .env.production
This commit is contained in:
7
deploy.sh
Executable file
7
deploy.sh
Executable file
@@ -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/
|
||||
"
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user