This commit is contained in:
dhain 2022-10-11 11:09:09 +02:00
parent 7abdbe605b
commit cdefc2e993
4 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,3 @@
<!-- ---------------------------------------------------------------- -->
<!DOCTYPE html>
<html lang="en" data-theme="emerald">
<head>
@ -7,7 +5,7 @@
<meta name="theme-color" content="#1e88e5">
<link rel="icon" href="../src/resources/images/logo2.svg" />
<meta name="color-scheme" content="dark light">
<link rel="manifest" href="manifest.json">
<link rel="manifest" href="%sveltekit.assets%/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
@ -15,6 +13,4 @@
<body>
<div>%sveltekit.body%</div>
</body>
</html>
<!-- ---------------------------------------------------------------- -->
</html>

View file

@ -8,6 +8,9 @@
onMount(async () => {
notes = await noteRepo.getNotes();
notes.forEach(note => {
note.lastViewed = new Date(note.lastViewed);
});
});
/**

View file

@ -1,4 +1,3 @@
/// <reference lib="webworker" />
import { build, files, version } from '$service-worker';
@ -76,7 +75,4 @@ worker.addEventListener('fetch', (event) => {
})()
);
}
});
});

View file

@ -1,4 +1,3 @@
{
"lang": "en",
"dir": "/",