Skip to content

Commit

Permalink
移除HTTP-API配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamVoid committed Aug 13, 2024
1 parent 5690b8c commit d30947d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
7 changes: 0 additions & 7 deletions MiraiMC-Base/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -44,8 +42,3 @@ database:
maximumPoolSize: 15
keepaliveTime: 0
minimumIdle: 5
http-api:
url: "http://localhost:8080"
message-fetch:
interval: 10
count: 10

0 comments on commit d30947d

Please sign in to comment.