From 46c01686c2ad0bc3da57827d9e47eed11db8828e Mon Sep 17 00:00:00 2001 From: tonProtofy Date: Wed, 11 Dec 2024 18:14:43 +0100 Subject: [PATCH] Fix apps/core prepare.js Co-authored-by: mvrcPR --- apps/core/prepare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/core/prepare.js b/apps/core/prepare.js index e29f14d1d..764faa071 100644 --- a/apps/core/prepare.js +++ b/apps/core/prepare.js @@ -6,7 +6,7 @@ if(!fs.existsSync('./../../.env')) { } else { const fileContent = fs.readFileSync('./../../.env').toString() if(!fileContent.includes('TOKEN_SECRET')) { - fs.appendFileSync(content) + fs.appendFileSync('./../../.env', content) } }