Pwa support, maybe
This commit is contained in:
@@ -8,6 +8,15 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="NVR Messenger" />
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<script>
|
||||
// Vite emits relative assets for the packaged Electron file:// build.
|
||||
// Web/PWA deep links need those same URLs rooted at the HTTPS origin.
|
||||
if (location.protocol !== 'file:') {
|
||||
const base = document.createElement('base')
|
||||
base.href = '/'
|
||||
document.head.append(base)
|
||||
}
|
||||
</script>
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" href="/favicon.svg" />
|
||||
<title>Native Vue Messenger</title>
|
||||
|
||||
Reference in New Issue
Block a user