Added service selection depending on selected processor

This commit is contained in:
2023-02-08 13:14:31 +01:00
parent e408840f6d
commit c0a54291ae

View File

@@ -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;