mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Compare commits
13 commits
354a6bd47a
...
5486899b9e
Author | SHA1 | Date | |
---|---|---|---|
|
5486899b9e | ||
|
5391af562e | ||
|
bbb9e059e0 | ||
|
582c16c6a6 | ||
|
8be4f0bd24 | ||
|
049ad90476 | ||
|
2a628dfa57 | ||
|
35b469db40 | ||
|
25d42a007b | ||
|
60bb38800b | ||
|
a437e11452 | ||
|
6c7501b340 | ||
|
8a432ac937 |
2 changed files with 13 additions and 7 deletions
|
@ -220,13 +220,17 @@ module.exports.statusPageSocketHandler = (socket) => {
|
||||||
|
|
||||||
// Delete groups that are not in the list
|
// Delete groups that are not in the list
|
||||||
log.debug("socket", "Delete groups that are not in the list");
|
log.debug("socket", "Delete groups that are not in the list");
|
||||||
const slots = groupIDList.map(() => "?").join(",");
|
if (groupIDList.length === 0) {
|
||||||
|
await R.exec("DELETE FROM `group` WHERE status_page_id = ?", [ statusPage.id ]);
|
||||||
|
} else {
|
||||||
|
const slots = groupIDList.map(() => "?").join(",");
|
||||||
|
|
||||||
const data = [
|
const data = [
|
||||||
...groupIDList,
|
...groupIDList,
|
||||||
statusPage.id
|
statusPage.id
|
||||||
];
|
];
|
||||||
await R.exec(`DELETE FROM \`group\` WHERE id NOT IN (${slots}) AND status_page_id = ?`, data);
|
await R.exec(`DELETE FROM \`group\` WHERE id NOT IN (${slots}) AND status_page_id = ?`, data);
|
||||||
|
}
|
||||||
|
|
||||||
const server = UptimeKumaServer.getInstance();
|
const server = UptimeKumaServer.getInstance();
|
||||||
|
|
||||||
|
|
|
@ -785,5 +785,7 @@
|
||||||
"-year": "-연도",
|
"-year": "-연도",
|
||||||
"Json Query Expression": "Json 쿼리 표현식",
|
"Json Query Expression": "Json 쿼리 표현식",
|
||||||
"Host URL": "호스트 URL",
|
"Host URL": "호스트 URL",
|
||||||
"locally configured mail transfer agent": "로컬로 구성된 메일 전송 에이전트"
|
"locally configured mail transfer agent": "로컬로 구성된 메일 전송 에이전트",
|
||||||
|
"ignoreTLSErrorGeneral": "연결에 TLS/SSL 오류 무시하기",
|
||||||
|
"ignoredTLSError": "TLS/SSL 오류가 무시되었습니다"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue