Skip to content

Commit

Permalink
Merge pull request #1512 from SnowCait/fix-ogp
Browse files Browse the repository at this point in the history
Fix description
  • Loading branch information
SnowCait authored Nov 12, 2024
2 parents 87c501b + 27b2cce commit 8d507aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/(app)/[slug=npub]/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const load: LayoutServerLoad<Data> = async ({ params }) => {
relays,
metadataEvent,
title: `${appName} - ${metadata?.displayName ?? 'ghost'}`,
description: metadata?.about ?? ''
description: metadata?.about.replaceAll('\n', ' ') ?? ''
};
if (metadata?.picture) {
data.image = metadata.picture;
Expand Down

0 comments on commit 8d507aa

Please sign in to comment.