mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
switch off prod logs on ui
This commit is contained in:
parent
c2289afee8
commit
f9e6ac0542
15 changed files with 48 additions and 11 deletions
|
@ -5,7 +5,7 @@ import { message } from "antd";
|
|||
|
||||
const isLocal = process.env.NODE_ENV === "development";
|
||||
const proxyBaseUrl = isLocal ? "http://localhost:4000" : null;
|
||||
if (isLocal === true) {
|
||||
if (isLocal != true) {
|
||||
console.log = function() {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue