mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Merge remote-tracking branch 'chakflying/redirects&status' into redirects&status
This commit is contained in:
commit
7b1000d995
1 changed files with 3 additions and 0 deletions
|
@ -230,6 +230,9 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
|
||||||
let notificationIDList = monitor.notificationIDList;
|
let notificationIDList = monitor.notificationIDList;
|
||||||
delete monitor.notificationIDList;
|
delete monitor.notificationIDList;
|
||||||
|
|
||||||
|
monitor.accepted_statuscodes_json = JSON.stringify(monitor.accepted_statuscodes);
|
||||||
|
delete monitor.accepted_statuscodes;
|
||||||
|
|
||||||
bean.import(monitor)
|
bean.import(monitor)
|
||||||
bean.user_id = socket.userID
|
bean.user_id = socket.userID
|
||||||
await R.store(bean)
|
await R.store(bean)
|
||||||
|
|
Loading…
Reference in a new issue