Compare commits

..

No commits in common. "078b76114baf6ecd29cb96682af55fbf87d5e730" and "455abc19596edf555a2d52e8e2ecc8508e28838b" have entirely different histories.

2 changed files with 17 additions and 1 deletions

View file

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

View file

@ -92,6 +92,22 @@
<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">