diff --git a/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/internal/config/PluginConfig.java b/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/internal/config/PluginConfig.java index f78210d3..6a0966e0 100644 --- a/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/internal/config/PluginConfig.java +++ b/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/internal/config/PluginConfig.java @@ -76,13 +76,4 @@ public static class Pool{ } } } - - public static class HttpApi{ - public static String Url = "http://localhost:8080"; - - public static class MessageFetch{ - public static int Interval = 10; - public static int Count = 10; - } - } } diff --git a/MiraiMC-Base/src/main/resources/config.yml b/MiraiMC-Base/src/main/resources/config.yml index 3e2a2ad2..683fdfef 100644 --- a/MiraiMC-Base/src/main/resources/config.yml +++ b/MiraiMC-Base/src/main/resources/config.yml @@ -9,7 +9,6 @@ general: mirai-working-dir: default mirai-core-version: "stable" maven-repo-url: "https://repo.huaweicloud.com/repository/maven/" - enable-http-api: false auto-open-qrcode-file: false log-events: true bot: @@ -22,7 +21,6 @@ bot: enable-friend-list-cache: false enable-group-member-list-cache: false save-interval-millis: 60000 - register-encrypt-service: false update-protocol-version: false database: type: sqlite @@ -44,8 +42,3 @@ database: maximumPoolSize: 15 keepaliveTime: 0 minimumIdle: 5 -http-api: - url: "http://localhost:8080" - message-fetch: - interval: 10 - count: 10