fix:webService immer auf port 80

const baseUrl = `${window.location.protocol}//${window.location.hostname}:80${basePath}/ClientData/WebServiceMap.asmx`;
This commit is contained in:
ISA
2025-06-02 15:24:11 +02:00
parent 6d639d2949
commit 34ca809ede
7 changed files with 7 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ export const fetchUserRightsService = async () => {
const { mockUserRights } = await import("../../__mocks__/webservice/userRights.js");
return mockUserRights.Rights || [];
} else {
const baseUrl = mode === "dev" ? `${window.location.protocol}//${window.location.hostname}:80${basePath}/ClientData/WebServiceMap.asmx` : `${window.location.origin}${basePath}/ClientData/WebServiceMap.asmx`;
const baseUrl = `${window.location.protocol}//${window.location.hostname}:80${basePath}/ClientData/WebServiceMap.asmx`;
const params = new URLSearchParams(window.location.search);
const idMap = params.get("m");