diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 5684a13f..c4175c09 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -23,7 +23,7 @@ const config = { url: 'https://langflow-ai.github.io', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/openrag/', + baseUrl: process.env.BASE_URL ? process.env.BASE_URL : '/openrag/', // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these.