時報
の停止期間設定機能を追加・地震発生お知らせにマグニチュード/深さを追加・天気お知らせに%が2つ付く問題を修正・地域情報更新が正常に発信されない問題を修正・地域情報更新のレート制限のデフォルト設定を30分に一回に・v4.0
This commit is contained in:
+7
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user