dev #26

Merged
bema merged 42 commits from dev into master 2023-02-13 11:04:17 +01:00
Showing only changes of commit 45e46de8f5 - Show all commits

View File

@@ -106,7 +106,11 @@ function performRequest(text, checkXML, checkTransform){
async function restRequest(text) {
const escapeChar = "specialEscapeChar";
// const addr = "http://localhost:8081/" + text;
const addr = window.location.protocol + "//" + window.location.hostname + ":8081/" + text;
var port = ":8081/"
if (getProcessor() == "libxml") {
port = ":8082/"
}
const addr = window.location.protocol + "//" + window.location.hostname + port + text;
var xmlData = document.getElementById("xmlArea").value.trim();
var transformData = document.getElementById("transformArea").value.trim();