mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Compare commits
11 commits
5486899b9e
...
354a6bd47a
Author | SHA1 | Date | |
---|---|---|---|
|
354a6bd47a | ||
|
10f3f7fd1e | ||
|
469b54ed6b | ||
|
9c1941433f | ||
|
8c3a52e64c | ||
|
090ed0b61b | ||
|
0059935d54 | ||
|
81c8cc6e72 | ||
|
f1f8004a07 | ||
|
e042162009 | ||
|
88df129d90 |
2 changed files with 7 additions and 13 deletions
|
@ -220,9 +220,6 @@ 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");
|
||||||
if (groupIDList.length === 0) {
|
|
||||||
await R.exec("DELETE FROM `group` WHERE status_page_id = ?", [ statusPage.id ]);
|
|
||||||
} else {
|
|
||||||
const slots = groupIDList.map(() => "?").join(",");
|
const slots = groupIDList.map(() => "?").join(",");
|
||||||
|
|
||||||
const data = [
|
const data = [
|
||||||
|
@ -230,7 +227,6 @@ module.exports.statusPageSocketHandler = (socket) => {
|
||||||
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,7 +785,5 @@
|
||||||
"-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