fix: disable plain for self hosters (#19853)

* fix: disable plain for self hosters

* fix type error

* test update

---------

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
nizzyandUdit Takkar authored and GitHub committed 2025-03-13 08:50:16 +00:00
1 parent 07716474d3
commit 082f8e1b04
4 files changed
+224 -199

No files matched your search

+3
View File
@@ -213,3 +213,6 @@ export const GOOGLE_CALENDAR_SCOPES = [
"https://www.googleapis.com/auth/calendar.readonly",
];
export const DIRECTORY_IDS_TO_LOG = process.env.DIRECTORY_IDS_TO_LOG?.split(",") || [];
export const IS_PLAIN_CHAT_ENABLED =
!!process.env.NEXT_PUBLIC_PLAIN_CHAT_ID && process.env.NEXT_PUBLIC_PLAIN_CHAT_ID !== "";