の停止期間設定機能を追加・地震発生お知らせにマグニチュード/深さを追加・天気お知らせに%が2つ付く問題を修正・地域情報更新が正常に発信されない問題を修正・地域情報更新のレート制限のデフォルト設定を30分に一回に・v4.0
This commit is contained in:
2025-07-04 19:07:05 +09:00
parent 8be3684a78
commit e3451323f3
6 changed files with 78 additions and 23 deletions
+7 -1
View File
@@ -2,12 +2,18 @@ import type { configTypes } from "types/config";
// READMEの設定項目を参照
const config: configTypes = {
time: {
stopTimes: {
start: new Date("23:00"),
stop: new Date("6:00"),
}
},
earthquake: {
reconnectTimes: 5000,
websocketUrl: "wss://api.p2pquake.net/v2/ws",
areasCsvUrl: "https://raw.githubusercontent.com/p2pquake/epsp-specifications/master/epsp-area.csv",
maxScaleMax: 30,
rateLimit: 10,
rateLimit: 30,
},
weather: {
splitCount: 4,