Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
update lgoging again
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialCrafter committed Dec 12, 2023
1 parent 01c5ada commit 6a5d742
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/logging.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const svelteRequestEventSerializer = event => {

const headers = Object.fromEntries(event.request.headers);
delete headers.cookie;
delete eventCopy.request.platform;

let address = 'unknown';

Expand All @@ -32,7 +31,6 @@ const svelteRequestEventSerializer = event => {
url: eventCopy.url,
headers,
remoteAddress: address,
platform: eventCopy.platform,
id: crypto.randomUUID()
};
};
Expand Down

0 comments on commit 6a5d742

Please sign in to comment.