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:
parent
5589315f2f
commit
a55d69614f
@ -10,9 +10,9 @@
|
||||
<meta property="og:description" content="FOLX TV – Ihr Fernsehsender für Volksmusik und Schlager. Musikvideos, Live-Shows und aktuelle Nachrichten aus der volkstümlichen Musikszene." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:site_name" content="Folx Music Television" />
|
||||
<meta property="og:url" content="https://www.folx.tv/" />
|
||||
<meta property="og:image" content="https://www.folx.tv/og-image.jpg" />
|
||||
<meta property="og:image:secure_url" content="https://www.folx.tv/og-image.jpg" />
|
||||
<meta property="og:url" content="https://folx.tv/" />
|
||||
<meta property="og:image" content="https://folx.tv/og-image.jpg" />
|
||||
<meta property="og:image:secure_url" content="https://folx.tv/og-image.jpg" />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="630" />
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
@ -21,9 +21,9 @@
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="Folx Music Television - Volksmusik & Schlager TV Sender" />
|
||||
<meta name="twitter:description" content="FOLX TV – Ihr Fernsehsender für Volksmusik und Schlager. Musikvideos, Live-Shows und aktuelle Nachrichten." />
|
||||
<meta name="twitter:image" content="https://www.folx.tv/og-image.jpg" />
|
||||
<meta name="twitter:image" content="https://folx.tv/og-image.jpg" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<link rel="canonical" href="https://www.folx.tv/" />
|
||||
<link rel="canonical" href="https://folx.tv/" />
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<link rel="apple-touch-icon" href="/favicon.png" />
|
||||
<link rel="shortcut icon" href="/favicon.png" />
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -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}`;
|
||||
|
||||
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user