SUPPORT-9084: change backend-context path
This commit is contained in:
parent
bafe64e6af
commit
bf3404c551
2 changed files with 2 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
|||
"filter_cleanup_check_period_minutes": 30,
|
||||
"auth_method": "form",
|
||||
"enable.version.in.url": "%enable.version.in.url%",
|
||||
"backend.context": "account-applications",
|
||||
"backend.context": "/service/account-applications",
|
||||
"guard.confirm_exit": false,
|
||||
"message_service_error_timeout": "",
|
||||
"message_service_warning_timeout": "",
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@ import {
|
|||
TokenHeaderUtil
|
||||
} from "@webbpm/base-package";
|
||||
import {Observable} from "rxjs";
|
||||
import {MfeConfigurationProvider} from "../provider/mfe-configuration.provider";
|
||||
import {joinPath} from "../../../mfe-app-tools";
|
||||
|
||||
|
||||
export class MfeHttpBackendInterceptor implements HttpInterceptor {
|
||||
private static readonly CONTENT_TYPE_HEADER = 'Content-Type';
|
||||
|
|
@ -41,10 +38,7 @@ export class MfeHttpBackendInterceptor implements HttpInterceptor {
|
|||
url = backendUrl;
|
||||
}
|
||||
else if (backendContext) {
|
||||
url = joinPath(
|
||||
MfeConfigurationProvider.MFE_BASE_URL,
|
||||
backendContext
|
||||
);
|
||||
url = backendContext;
|
||||
}
|
||||
else {
|
||||
url = ApplicationSettingsProvider.BACKEND_URL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue