Add ENV configurable baseUrl

This commit is contained in:
Ronnie Miller 2025-09-22 12:11:18 -07:00
parent e141be8c37
commit 6aa68ebdcf

View file

@ -23,7 +23,7 @@ const config = {
url: 'https://langflow-ai.github.io',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
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.