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";
|
} from "./types";
|
||||||
|
|
||||||
function ChatPage() {
|
function ChatPage() {
|
||||||
const isDebugMode =
|
const isDebugMode = process.env.NEXT_PUBLIC_OPENRAG_DEBUG === "true";
|
||||||
process.env.NODE_ENV === "development" ||
|
|
||||||
process.env.NEXT_PUBLIC_OPENRAG_DEBUG === "true";
|
|
||||||
const {
|
const {
|
||||||
endpoint,
|
endpoint,
|
||||||
setEndpoint,
|
setEndpoint,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue