♻️ Gate the app behind PocketBase authentication
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.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user