diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 5a4b99c..08fc961 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -7,6 +7,7 @@ import type * as Preset from '@docusaurus/preset-classic'; const TITLE = 'Refrens API'; const REPO_NAME = 'api'; const ORG_NAME = 'refrens-docs'; +const PROD_URL = 'https://refrens.com'; const config: Config = { title: TITLE, @@ -14,7 +15,7 @@ const config: Config = { favicon: 'img/favicon.ico', // Set the production url of your site here - url: `https://${ORG_NAME}.github.io`, + url: PROD_URL, // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: process.env.NODE_ENV === 'production' ? `/${REPO_NAME}/docs/` : '/',