parent
ed3d8a52e0
commit
63dc1a453c
|
@ -88,7 +88,7 @@ export default async function createQQ () {
|
|||
}
|
||||
|
||||
if (ret.signAPI) {
|
||||
bot = bot.replace(/sign_api_addr:\s*/, `sign_api_addr: ${ret.signAPI}`);
|
||||
bot = bot.replace(/sign_api_addr:/g, `sign_api_addr: ${ret.signAPI}`)
|
||||
}
|
||||
|
||||
fs.writeFileSync(`${file}bot.yaml`, bot, 'utf8')
|
||||
|
|
Loading…
Reference in New Issue