From a55d69614fcf47696ad22b075eb3b7c2a27bacf9 Mon Sep 17 00:00:00 2001
From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com>
Date: Thu, 5 Mar 2026 15:43:13 +0000
Subject: [PATCH] Update website links to use the correct domain for image
sharing
Replace all instances of "www.folx.tv" with "folx.tv" in the client and server configurations to resolve SSL issues preventing image sharing on social media platforms.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 20f43e40-d815-42d5-9bb6-37729939c10e
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/1f7e7e89-a520-4970-9645-37daadc466dc/mwtHL8H
Replit-Helium-Checkpoint-Created: true
---
client/index.html | 10 +++++-----
client/src/components/share-buttons.tsx | 2 +-
server/routes.ts | 4 ++--
server/static.ts | 2 +-
server/vite.ts | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-)
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(