hide toggles unless explicitly enabled
This commit is contained in:
parent
1d53ce26d2
commit
0448618fd5
1 changed files with 1 additions and 3 deletions
|
|
@ -25,9 +25,7 @@ import type {
|
|||
} from "./types";
|
||||
|
||||
function ChatPage() {
|
||||
const isDebugMode =
|
||||
process.env.NODE_ENV === "development" ||
|
||||
process.env.NEXT_PUBLIC_OPENRAG_DEBUG === "true";
|
||||
const isDebugMode = process.env.NEXT_PUBLIC_OPENRAG_DEBUG === "true";
|
||||
const {
|
||||
endpoint,
|
||||
setEndpoint,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue