mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-28 21:05:17 +02:00
add comment
This commit is contained in:
@@ -36,6 +36,7 @@ export const SIDEBAR_WIDTH = `w-[350px]`;
|
|||||||
export const LOGOUT_DISABLED =
|
export const LOGOUT_DISABLED =
|
||||||
process.env.NEXT_PUBLIC_DISABLE_LOGOUT?.toLowerCase() === "true";
|
process.env.NEXT_PUBLIC_DISABLE_LOGOUT?.toLowerCase() === "true";
|
||||||
|
|
||||||
|
// Default sidebar open is true if the environment variable is not set
|
||||||
export const NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN =
|
export const NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN =
|
||||||
process.env.NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN?.toLowerCase() === "true" ??
|
process.env.NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN?.toLowerCase() === "true" ??
|
||||||
true;
|
true;
|
||||||
|
Reference in New Issue
Block a user