Add ENV configurable baseUrl
This commit is contained in:
parent
e141be8c37
commit
6aa68ebdcf
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ const config = {
|
||||||
url: 'https://langflow-ai.github.io',
|
url: 'https://langflow-ai.github.io',
|
||||||
// Set the /<baseUrl>/ pathname under which your site is served
|
// Set the /<baseUrl>/ pathname under which your site is served
|
||||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||||
baseUrl: '/openrag/',
|
baseUrl: process.env.BASE_URL ? process.env.BASE_URL : '/openrag/',
|
||||||
|
|
||||||
// GitHub pages deployment config.
|
// GitHub pages deployment config.
|
||||||
// If you aren't using GitHub pages, you don't need these.
|
// If you aren't using GitHub pages, you don't need these.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue