somratpro commited on
Commit
09c0203
·
1 Parent(s): 5b27133

refactor: remove redundant isDashboardRoute check from health server path validation

Browse files
Files changed (1) hide show
  1. health-server.js +1 -2
health-server.js CHANGED
@@ -57,8 +57,7 @@ function isLocalRoute(pathname) {
57
  pathname === "/uptimerobot/setup" ||
58
  pathname === DASHBOARD_HEALTH_PATH ||
59
  pathname === DASHBOARD_STATUS_PATH ||
60
- pathname === DASHBOARD_UPTIMEROBOT_PATH ||
61
- isDashboardRoute(pathname)
62
  );
63
  }
64
 
 
57
  pathname === "/uptimerobot/setup" ||
58
  pathname === DASHBOARD_HEALTH_PATH ||
59
  pathname === DASHBOARD_STATUS_PATH ||
60
+ pathname === DASHBOARD_UPTIMEROBOT_PATH
 
61
  );
62
  }
63