mirror of
https://github.com/matrixgpt/matrix-chatgpt-bot.git
synced 2024-09-30 04:55:44 +00:00
Fix isGoogleLogin after merge.
This commit is contained in:
parent
72fe67312d
commit
b3af083b80
@ -21,8 +21,7 @@ export const matrixPrefix = process.env.MATRIX_PREFIX as string;
|
|||||||
/** ChatGPT specific stuff */
|
/** ChatGPT specific stuff */
|
||||||
export const openAiEmail = process.env.OPENAI_EMAIL as string;
|
export const openAiEmail = process.env.OPENAI_EMAIL as string;
|
||||||
export const openAiPassword = process.env.OPENAI_PASSWORD as string;
|
export const openAiPassword = process.env.OPENAI_PASSWORD as string;
|
||||||
export const isGoogleLogin = process.env.IS_GOOGLE_LOGIN && process.env.IS_GOOGLE_LOGIN.toLowerCase() === "true";
|
export const isGoogleLogin = process.env.IS_GOOGLE_LOGIN && process.env.IS_GOOGLE_LOGIN.toLowerCase() === "true" as string;
|
||||||
|
|
||||||
|
|
||||||
if(dataPath === undefined) {
|
if(dataPath === undefined) {
|
||||||
console.error("DATA_PATH env variable is undefined");
|
console.error("DATA_PATH env variable is undefined");
|
||||||
|
Loading…
Reference in New Issue
Block a user