Builds in production

This commit is contained in:
2023-09-20 14:56:28 +02:00
parent c05de10192
commit 8fcd97e811
4 changed files with 32 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ export const load: PageServerLoad = ({ fetch, getClientAddress }) => {
return {
config,
serviceData,
location: getClientAddress(),
privateAccess: clientAddressIsPrivate(getClientAddress(), privateConfig)
};
};

View File

@@ -20,7 +20,7 @@
<footer class="flex h-8 w-full flex-row">
<div class="mx-auto">
Made with ♥ by atuleu.
Made with ♥ by atuleu. Your IP: {data.location}.
{#if data.privateAccess === true}
Private view
{:else}