diff --git a/Server/routes/distributedUptimeRoute.js b/Server/routes/distributedUptimeRoute.js new file mode 100644 index 000000000..eac4cb675 --- /dev/null +++ b/Server/routes/distributedUptimeRoute.js @@ -0,0 +1,18 @@ +import { Router } from "express"; + +class DistributedUptimeRoutes { + constructor(distributedUptimeController) { + this.router = Router(); + this.distributedUptimeController = distributedUptimeController; + this.initRoutes(); + } + initRoutes() { + this.router.post("/callback", this.distributedUptimeController.resultsCallback); + } + + getRouter() { + return this.router; + } +} + +export default DistributedUptimeRoutes;