mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
chore: add back BrowserOp, make changes to CI env (#1088)
* chore: add back BrowserOp * chore: make CI env and not DEV env generate refresh tokens every time * chore: make 'CI' env var captilization uniform across the app * chore: change NODE_ENV for playwright to
This commit is contained in:
parent
4073b7d05d
commit
70590251d1
9 changed files with 26 additions and 8 deletions
|
|
@ -12,7 +12,7 @@ if (!process.stdin.isTTY) {
|
|||
}
|
||||
|
||||
// If we are in CI env, lets exit
|
||||
if (process.env.NODE_ENV === 'ci') {
|
||||
if (process.env.NODE_ENV === 'CI') {
|
||||
console.log('Note: we are in a CI environment, skipping install script.');
|
||||
exit(0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ class Env {
|
|||
* @returns {Boolean}
|
||||
*/
|
||||
isCI() {
|
||||
return this.currentEnvironment() === 'ci';
|
||||
return this.currentEnvironment() === 'CI';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue