mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-04-01 12:59:20 +03:00
WebSocketManager
This commit is contained in:
@@ -221,7 +221,7 @@
|
||||
if (res.ok && res.data && res.data.result) {
|
||||
console.log(res.data.result);
|
||||
if (res.data.result.acknowledged) {
|
||||
window.open("https://portal.iotmanager.org/configs?id=" + res.data.result.insertedId + "&token=" + JWT, "_blank");
|
||||
window.open(portal.BASE + "/configs?id=" + res.data.result.insertedId + "&token=" + JWT, "_blank");
|
||||
}
|
||||
errors = [{ msg: "ok_success" }];
|
||||
} else if (res.errors) {
|
||||
|
||||
Reference in New Issue
Block a user