From c0a54291ae1c2b6df3a715e7ac530420e6206d44 Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Wed, 8 Feb 2023 13:14:31 +0100 Subject: [PATCH] Added service selection depending on selected processor --- Frontend/assets/scripts/tools/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/assets/scripts/tools/scripts.js b/Frontend/assets/scripts/tools/scripts.js index cbe6539..fcd4280 100644 --- a/Frontend/assets/scripts/tools/scripts.js +++ b/Frontend/assets/scripts/tools/scripts.js @@ -107,7 +107,7 @@ async function restRequest(text) { const escapeChar = "specialEscapeChar"; // const addr = "http://localhost:8081/" + text; var port = ":8081/" - if (getProcessor == "libxml") { + if (getProcessor() == "libxml") { var port = ":8085/" } const addr = window.location.protocol + "//" + window.location.hostname + ":8081/" + text;