Only signed-in users reach the working pages. Everyone else lands on the login page and returns to the page they asked for after signing in. The manifest link moves into the page template and the service worker is registered only in production builds.
15 lines
434 B
HTML
15 lines
434 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="text-scale" content="scale" />
|
|
<meta name="theme-color" content="#1a1a2e" />
|
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
%sveltekit.head%
|
|
</head>
|
|
<body data-sveltekit-preload-data="hover">
|
|
<div style="display: contents">%sveltekit.body%</div>
|
|
</body>
|
|
</html>
|