From 219b58ae5d8f4462d9c56cd2839e970c99cd3f5a Mon Sep 17 00:00:00 2001 From: typescreep Date: Mon, 25 Aug 2025 21:50:11 +0300 Subject: [PATCH] to string fix --- server/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/index.ts b/server/index.ts index f1d7104..6995c05 100644 --- a/server/index.ts +++ b/server/index.ts @@ -189,8 +189,8 @@ app.get(`${basePrefix ? basePrefix : ''}/env.js`, (_, res) => { LOGIN_URL: ${JSON.stringify(LOGIN_URL) || '"check envs"'}, LOGOUT_URL: ${JSON.stringify(LOGOUT_URL) || '"check envs"'}, LOGIN_USERNAME_FIELD: ${JSON.stringify(LOGIN_USERNAME_FIELD) || '"check envs"'}, - REMOVE_BACKLINK: ${!!REMOVE_BACKLINK ? REMOVE_BACKLINK.toString().toLowerCase() : '"false"'}, - REMOVE_BACKLINK_TEXT: ${!!REMOVE_BACKLINK_TEXT ? REMOVE_BACKLINK_TEXT.toString().toLowerCase() : '"false"'} + REMOVE_BACKLINK: ${!!REMOVE_BACKLINK ? REMOVE_BACKLINK?.toString().toLowerCase() : '"false"'}, + REMOVE_BACKLINK_TEXT: ${!!REMOVE_BACKLINK_TEXT ? REMOVE_BACKLINK_TEXT?.toString().toLowerCase() : '"false"'} } `, )