From ef7c5ee2ba72d45afdc50ca439a2b6a592026385 Mon Sep 17 00:00:00 2001 From: fuegovic Date: Fri, 10 May 2024 02:42:16 -0400 Subject: [PATCH] update domain --- next-sitemap.config.js | 2 +- package.json | 2 +- theme.config.tsx | 10 ++++------ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/next-sitemap.config.js b/next-sitemap.config.js index 4dda5bf..37b4d6b 100644 --- a/next-sitemap.config.js +++ b/next-sitemap.config.js @@ -2,7 +2,7 @@ /** @type {import('next-sitemap').IConfig} */ module.exports = { - siteUrl: 'https://www.librechat.cfd', + siteUrl: 'https://www.librechat.ai', generateRobotsTxt: true, changefreq: 'daily', exclude: ['*/_meta'], diff --git a/package.json b/package.json index 14b8971..834fe4f 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "prettier": "pnpm lint:prettier --write", "prepare": "husky" }, - "homepage": "https://www.librechat.cfd", + "homepage": "https://www.librechat.ai", "dependencies": { "@calcom/embed-react": "^1.5.0", "@glidejs/glide": "^3.6.0", diff --git a/theme.config.tsx b/theme.config.tsx index a7faabc..99eb206 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -63,12 +63,10 @@ const config: DocsThemeConfig = { : '/images/socialcards/default-image.png' const image = frontMatter.ogImage - ? 'https://nextra.librechat.cfd' + frontMatter.ogImage // Use frontmatter image if available + ? 'https://www.librechat.ai' + frontMatter.ogImage // Use frontmatter image if available : defaultImage // Use default image based on path if frontmatter image is not available - const video = frontMatter.ogVideo - ? 'https://nextra.librechat.cfd' + frontMatter.ogVideo //TODO Update URL - : null + const video = frontMatter.ogVideo ? 'https://www.librechat.ai' + frontMatter.ogVideo : null return ( <> @@ -83,8 +81,8 @@ const config: DocsThemeConfig = { - //TODO Update URL - //TODO Update URL + +