diff --git a/server/index.js b/server/index.js
index 68b934d..579bd4e 100644
--- a/server/index.js
+++ b/server/index.js
@@ -20,12 +20,12 @@ const server = createServer(app);
const NODE_ENV = process.env.NODE_ENV || 'development';
const PORT = process.env.PORT || (NODE_ENV === 'production' ? 4000 : 3300);
const IS_PRODUCTION = NODE_ENV === 'production';
-const PRIMARY_HOST = 'ypchat.net';
-const LEGACY_HOSTS = new Set(['www.ypchat.net', 'single-chat.net', 'www.single-chat.net']);
+const PRIMARY_HOST = 'www.ypchat.net';
+const LEGACY_HOSTS = new Set(['ypchat.net']);
// CORS-Origins konfigurieren
const allowedOrigins = IS_PRODUCTION
- ? ['https://ypchat.net', 'https://www.ypchat.net', 'https://single-chat.net', 'https://www.single-chat.net']
+ ? ['https://www.ypchat.net', 'https://ypchat.net']
: ['http://localhost:5175', 'http://127.0.0.1:5175'];
// Socket.IO auf dem gleichen HTTP-Server wie Express
diff --git a/server/routes-seo.js b/server/routes-seo.js
index 6b3c79c..ad2c9fd 100644
--- a/server/routes-seo.js
+++ b/server/routes-seo.js
@@ -2,7 +2,7 @@ import { readFileSync, existsSync } from 'fs';
import { join, resolve } from 'path';
import { loadFeedback } from './feedback-store.js';
-const SITE_URL = 'https://ypchat.net';
+const SITE_URL = 'https://www.ypchat.net';
const DEFAULT_IMAGE = `${SITE_URL}/static/favicon.png`;
const SEO_LOCALES = [
{ code: 'de', label: 'Deutsch' },
@@ -363,7 +363,7 @@ for (const page of landingPages) {
isPartOf: {
'@type': 'WebSite',
name: 'SingleChat',
- alternateName: 'Single-Chat.net',
+ alternateName: 'YPChat',
url: `${SITE_URL}/`
},
inLanguage: 'de-DE'
@@ -515,7 +515,7 @@ function buildSeoLandingContent(route) {
.join('\n');
return `
- Single-Chat.net
+ YPChat
${escapeHtml(page.heading)}
${escapeHtml(page.intro)}
${sectionMarkup}