Corrected libxml backend port

This commit is contained in:
2023-02-08 14:03:08 +01:00
parent 0c5a83d3b6
commit 07f2adcc1f

View File

@@ -108,10 +108,11 @@ async function restRequest(text) {
// const addr = "http://localhost:8081/" + text;
var port = ":8081/"
if (getProcessor() == "libxml") {
port = ":8085/"
port = ":8082/"
}
const addr = window.location.protocol + "//" + window.location.hostname + ":8081/" + text;
const addr = window.location.protocol + "//" + window.location.hostname + port + text;
console.log(addr)
var xmlData = document.getElementById("xmlArea").value.trim();
var transformData = document.getElementById("transformArea").value.trim();