Made it working from one docker-compose file

This commit is contained in:
2023-01-13 08:58:01 +01:00
parent 2e0c84ed60
commit 749120666a
10 changed files with 206 additions and 90 deletions

View File

@@ -5,4 +5,6 @@ COPY ./index.html /usr/share/nginx/html
COPY ./logo.png /usr/share/nginx/html
COPY ./styles.css /usr/share/nginx/html
COPY ./common.css /usr/share/nginx/html
COPY ./favicon.ico /usr/share/nginx/html
COPY ./favicon.ico /usr/share/nginx/html
EXPOSE 80

View File

@@ -105,8 +105,8 @@ function performRequest(text, checkXML, checkTransform){
//Form REST request, send, receive and display in resultArea
async function restRequest(text) {
const escapeChar = "specialEscapeChar";
// const addr = "http://localhost:8081/" + text;
const addr = "http://gordon.zipper.release11.com:8081/" + text;
const addr = "http://localhost:8081/" + text;
// const addr = "http://gordon.zipper.release11.com:8081/" + text;
var xmlData = document.getElementById("xmlArea").value.trim();
var transformData = document.getElementById("transformArea").value.trim();
@@ -153,4 +153,4 @@ async function restRequest(text) {
});
});
}
}