From 9273288118aea87a48c0da8eb3bdaa7a07b50ab5 Mon Sep 17 00:00:00 2001
From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com>
Date: Sat, 24 Jan 2026 13:32:23 +0000
Subject: [PATCH] Limit video descriptions shown on social media previews
Truncate video descriptions to 150 characters for social media sharing metadata and add German text.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 401e2ec0-e00d-4f10-9d0e-60f3d479f9a5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: e6407904-6889-470d-a46c-6618087a2b78
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/401e2ec0-e00d-4f10-9d0e-60f3d479f9a5/zYSbThd
---
server/index.ts | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/server/index.ts b/server/index.ts
index 13253ec..9bce027 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -143,9 +143,14 @@ app.use((req, res, next) => {
` 150) {
+ shortDescription = shortDescription.substring(0, 147) + '...';
+ }
template = template.replace(
/ {
template = template.replace(
/