delete button kharid mes and edit start url
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user