mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
📦 chore: Update librechat-data-provider to v0.8.006
This commit is contained in:
parent
d5ec838218
commit
229d6f2dfe
3 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ import * as q from './types/queries';
|
|||
import { ResourceType } from './accessPermissions';
|
||||
|
||||
let BASE_URL = '';
|
||||
if (typeof process === 'undefined' || process.browser === true) {
|
||||
if (typeof process === 'undefined' || process?.browser === true) {
|
||||
// process is only available in node context, or process.browser is true in client-side code
|
||||
// This is to ensure that the BASE_URL is set correctly based on the <base>
|
||||
// element in the HTML document, if it exists.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue