mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02: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
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -52227,7 +52227,7 @@
|
|||
},
|
||||
"packages/data-provider": {
|
||||
"name": "librechat-data-provider",
|
||||
"version": "0.8.005",
|
||||
"version": "0.8.006",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"axios": "^1.8.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "librechat-data-provider",
|
||||
"version": "0.8.005",
|
||||
"version": "0.8.006",
|
||||
"description": "data services for librechat apps",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.es.js",
|
||||
|
|
|
@ -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