mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +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
|
@ -91,7 +91,7 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
|
|||
>>(null);
|
||||
|
||||
const isLocal = process.env.NODE_ENV === "development";
|
||||
if (isLocal === true) {
|
||||
if (isLocal != true) {
|
||||
console.log = function() {};
|
||||
}
|
||||
const [baseUrl, setBaseUrl] = useState(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue