feat: nuke vite-pwa because it sucks and use my own service worker
This commit is contained in:
1 parent
19fa06b5bd
commit
25a3b10937
9 files changed
+116
-78
No files matched your search
@@ -6,8 +6,6 @@
|
||||
import 'nprogress/nprogress.css'
|
||||
import Moderation from '$lib/components/lemmy/moderation/Moderation.svelte'
|
||||
import Sidebar from '$lib/components/ui/sidebar/Sidebar.svelte'
|
||||
// @ts-ignore
|
||||
import { pwaInfo } from 'virtual:pwa-info'
|
||||
import {
|
||||
colorScheme,
|
||||
inDarkColorScheme,
|
||||
@@ -59,8 +57,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
$: webManifest = pwaInfo ? pwaInfo.webManifest.linkTag : ''
|
||||
|
||||
onMount(() => {
|
||||
if (browser) {
|
||||
if (window.location.hash == 'main') {
|
||||
@@ -115,7 +111,6 @@
|
||||
<meta name="description" content="A sleek client for Lemmy" />
|
||||
{/if}
|
||||
{/if}
|
||||
{@html webManifest}
|
||||
</svelte:head>
|
||||
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user