feat: http与ws共站支持热重载

This commit is contained in:
挂神
2024-07-24 13:02:37 +08:00
parent f7bdc35ed6
commit 25bca8385d
4 changed files with 62 additions and 37 deletions

View File

@@ -70,7 +70,7 @@ const showQRCode = async (url: string, base64: string, buffer: Buffer) => {
});
};
let quickLoginQQ = cmdOptions.qq;
let quickLoginQQ = cmdOptions.qq; // undefine、true、string
const QuickLoginList = await napCatCore.getQuickLoginList();
if (quickLoginQQ == true) {
if (QuickLoginList.LocalLoginInfoList.length > 0) {