mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: old http port config
This commit is contained in:
parent
103e0b43f8
commit
be7b68ec4e
@ -31,7 +31,7 @@ export class ConfigUtil {
|
||||
}
|
||||
let defaultConfig: Config = {
|
||||
ob11: ob11Default,
|
||||
heartInterval: 5000,
|
||||
heartInterval: 60000,
|
||||
token: "",
|
||||
enableBase64: false,
|
||||
debug: false,
|
||||
@ -52,7 +52,7 @@ export class ConfigUtil {
|
||||
return this.config;
|
||||
}
|
||||
mergeNewProperties(defaultConfig, jsonData);
|
||||
this.checkOldConfig(jsonData.ob11, jsonData, "httpPort", "port");
|
||||
this.checkOldConfig(jsonData.ob11, jsonData, "httpPort", "http");
|
||||
this.checkOldConfig(jsonData.ob11, jsonData, "httpHosts", "hosts");
|
||||
this.checkOldConfig(jsonData.ob11, jsonData, "wsPort", "wsPort");
|
||||
// console.log("get config", jsonData);
|
||||
|
Loading…
x
Reference in New Issue
Block a user