Check the monitor URL resolution before adding it

This commit is contained in:
om-3004 committed 2024-10-15 17:20:54 +05:30
1 parent 4a1b290416
commit ebf6a0ceb7
5 files changed
+161 -50

No files matched your search

+6
View File
@@ -18,6 +18,12 @@ router.post(
monitorController.createMonitor
);
router.get(
"/check-endpoint/url",
isAllowed(["admin", "superadmin"]),
monitorController.checkEndpointResolution
)
router.delete(
"/:monitorId",
isAllowed(["admin", "superadmin"]),