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(