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
This commit is contained in:
sebastjanartic
2026-03-05 15:43:13 +00:00
parent 5589315f2f
commit a55d69614f
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -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");
+1 -1
View File
@@ -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}`;
+1 -1
View File
@@ -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(