diff --git a/client/index.html b/client/index.html index 6a9fdfc..6665783 100644 --- a/client/index.html +++ b/client/index.html @@ -10,9 +10,9 @@ - - - + + + @@ -21,9 +21,9 @@ - + - + diff --git a/client/src/components/share-buttons.tsx b/client/src/components/share-buttons.tsx index 253a7c4..e5226fd 100644 --- a/client/src/components/share-buttons.tsx +++ b/client/src/components/share-buttons.tsx @@ -8,7 +8,7 @@ interface ShareButtonsProps { image?: string; } -const CANONICAL_DOMAIN = "https://www.folx.tv"; +const CANONICAL_DOMAIN = "https://folx.tv"; function canonicalUrl(url: string): string { try { diff --git a/server/routes.ts b/server/routes.ts index 2a6683d..807da25 100644 --- a/server/routes.ts +++ b/server/routes.ts @@ -540,7 +540,7 @@ export async function registerRoutes( app.get("/sitemap.xml", async (_req, res) => { try { - const baseUrl = "https://www.folx.tv"; + const baseUrl = "https://folx.tv"; const today = new Date().toISOString().split("T")[0]; const articles = await storage.getArticles(); const categories = [...new Set(articles.map(a => a.category).filter(Boolean))]; @@ -619,7 +619,7 @@ Allow: / Disallow: /api/ Disallow: /search -Sitemap: https://www.folx.tv/sitemap.xml +Sitemap: https://folx.tv/sitemap.xml `; res.set("Content-Type", "text/plain"); res.set("Cache-Control", "public, max-age=86400"); diff --git a/server/static.ts b/server/static.ts index fa9200a..4b2bcad 100644 --- a/server/static.ts +++ b/server/static.ts @@ -44,7 +44,7 @@ export function serveStatic(app: Express) { const url = req.originalUrl; const indexPath = path.resolve(distPath, "index.html"); - const canonicalBase = "https://www.folx.tv"; + const canonicalBase = "https://folx.tv"; const host = req.get("host") || "folx.tv"; const protocol = req.get("x-forwarded-proto") || "https"; const baseUrl = `${protocol}://${host}`; diff --git a/server/vite.ts b/server/vite.ts index 1f41002..d72fbaf 100644 --- a/server/vite.ts +++ b/server/vite.ts @@ -55,7 +55,7 @@ export async function setupVite(server: Server, app: Express) { app.use("/{*path}", async (req, res, next) => { const url = req.originalUrl; - const canonicalBase = "https://www.folx.tv"; + const canonicalBase = "https://folx.tv"; try { const clientTemplate = path.resolve(