Skip to content

Commit 9fc7e23

Browse files
committed
Various fixes
1 parent 4fc1363 commit 9fc7e23

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ aws.env
1414
.netlify
1515
.wrangler
1616
/.svelte-kit
17-
/build
17+
/out/build
1818

1919
# IDE project files
2020
.idea/

src/hooks.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const handle: Handle = async ({ event, resolve }) => {
9595
const response = await sequence(
9696
heartbeat,
9797
// Handle auth hooks in a separate OTEL span
98-
(h) => {
98+
async ({ event, resolve }) => {
9999
return tracer.startActiveSpan('Authentication', async (span) => {
100100
// Call the auth sequence
101101
let spanEnded = false;

src/routes/(api)/system/check/+server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export const GET: RequestHandler = async () => {
88
return new Response(
99
JSON.stringify({
1010
versions: Object.fromEntries(versions.map(({ appName, version }) => [appName, version])),
11-
created: versions[0].created,
12-
updated: versions[0].updated,
13-
imageHash: versions[0].imageHash,
11+
created: versions.at(0)?.created,
12+
updated: versions.at(0)?.updated,
13+
imageHash: versions.at(0)?.imageHash,
1414
_links: {
1515
self: {
1616
href: `${process.env.ORIGIN || 'http://localhost:8443'}/system/check`

0 commit comments

Comments
 (0)