Check the monitor URL resolution before adding it
This commit is contained in:
1 parent
4a1b290416
commit
ebf6a0ceb7
5 files changed
+161
-50
No files matched your search
@@ -18,6 +18,12 @@ router.post(
|
||||
monitorController.createMonitor
|
||||
);
|
||||
|
||||
router.get(
|
||||
"/check-endpoint/url",
|
||||
isAllowed(["admin", "superadmin"]),
|
||||
monitorController.checkEndpointResolution
|
||||
)
|
||||
|
||||
router.delete(
|
||||
"/:monitorId",
|
||||
isAllowed(["admin", "superadmin"]),
|
||||
|
||||
Reference in new issue
Block a user