Adjusted Mock Services to new address

This commit is contained in:
2023-05-22 12:04:32 +02:00
parent e8b84ef1e8
commit 5887c92a2a
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ var json = {};
var jsonIndex = 0;
var lastId = 1;
var htable_row = 0;
var host = window.location.protocol + "//" + window.location.hostname + ":8097";
var host = window.location.protocol + "//" + window.location.hostname + "/mock";
var dataModified = false;
const addMessageName = 'addMessage';
const loadMessageName = 'changeMessage';

View File

@@ -29,7 +29,7 @@ server {
}
location /mock/ {
proxy_pass http://xmltools-mocked-services:8097/api/;
proxy_pass http://xmltools-mocked-services:8097/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;