delete button kharid mes and edit start url

This commit is contained in:
2026-08-09 13:52:56 +03:30
parent 5d660783da
commit e64d237182
3 changed files with 7 additions and 37 deletions
+3 -2
View File
@@ -242,8 +242,9 @@ function resolveInstallIcons(manifest: PwaManifest) {
function prepareManifestForInstall(manifest: PwaManifest) {
const scopeUrl = toSameOriginManifestUrl(manifest.scope ?? manifest.start_url, '/')
const startUrl = toSameOriginManifestUrl(manifest.start_url, '/')
// اپ نصب‌شده باید روی صفحه Login باز شود — نه / و نه /landing
const startUrl = new URL('/', window.location.origin).href
const scopeUrl = new URL('/', window.location.origin).href
const icons = resolveInstallIcons(manifest)
const name = manifest.short_name || manifest.name