added additional route for checking if url is reachable

This commit is contained in:
Chris
2025-10-15 18:29:24 +01:00
parent ae6d2d1f37
commit 6ec26c14b0
5 changed files with 25 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ export default class extends Controller {
result = await portainerChecker.verifyPortainerAuthentication();
} else if (this.verificationMethodValue === URL_VERIFICATION_METHOD) {
const url = this.verifyUrlValue;
result = await portainerChecker.verifyPortainerUrl(url);
result = await portainerChecker.checkReachable(url);
}
if (result === PortainerChecker.STATUS_UNAUTHORIZED) {