From d38b7688118aa77b1d6995ad2b87410b681cb127 Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 4 Jan 2025 00:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=99=E5=85=A5=E6=96=87=E4=BB=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=96=87=E4=BB=B6=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/config/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/config/util.ts b/back/config/util.ts index fdcbb34e..f6310248 100644 --- a/back/config/util.ts +++ b/back/config/util.ts @@ -631,7 +631,7 @@ async function replaceDomainInFile( newDomainWithScheme += '/'; } - await fs.writeFile(filePath, updatedContent, 'utf8'); + await writeFileWithLock(filePath, updatedContent); } async function _updateLinuxMirror(