fix: use localStorage instead of URL path for language persistence

Telegram WebView caches URL and strips #tgWebAppData hash on reopens,
causing empty initData when URL path contained language prefix like /en.
This commit is contained in:
2026-02-22 21:04:29 +03:00
parent f2b809cb7c
commit c72782793a
4 changed files with 16 additions and 33 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pezkuwi-telegram-miniapp",
"version": "1.0.218",
"version": "1.0.220",
"type": "module",
"description": "Pezkuwichain Telegram Mini App - Forum, Announcements, Rewards",
"author": "Pezkuwichain Team",