fix: hooks and logs

This commit is contained in:
glazk0 2024-04-07 20:25:32 +02:00
parent 7a1e431022
commit a7f1bda8fe
No known key found for this signature in database
GPG key ID: E45BF177782B9FEB
2 changed files with 1 additions and 17 deletions

View file

@ -41,7 +41,7 @@ export const handleFetch: HandleFetch = async ({ request, fetch, event: { cookie
request = new Request(request, {
headers: {
...request.headers,
...Object.fromEntries(request.headers),
Authorization: `Bearer ${session}`
},
});

View file

@ -92,22 +92,6 @@
<p class="text-sm font-medium text-muted-foreground">
Path: <span class="font-normal text-foreground">{log.path}</span>
</p>
<p class="text-sm font-medium text-muted-foreground">
Logged:
<span
class={cn({
'text-green-500': log.logged,
'text-red-500': !log.logged
})}
>
{log.logged ? 'Yes' : 'No'}
</span>
</p>
{#if log.pseudo}
<p class="text-sm font-medium text-muted-foreground">
Pseudo: <span class="font-normal text-foreground">{log.pseudo}</span>
</p>
{/if}
<p class="text-sm font-medium text-muted-foreground">
Date:
<span class="font-normal text-foreground">