@smartbit4all/ng-client 1.1.29 → 1.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +8 -1
- package/fesm2015/smartbit4all-ng-client.mjs +7 -0
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +7 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.1.30.tgz +0 -0
- package/smartbit4all-ng-client-1.1.29.tgz +0 -0
|
@@ -3124,6 +3124,13 @@ class SmartHeaderMaintainerInterceptor {
|
|
|
3124
3124
|
intercept(request, next) {
|
|
3125
3125
|
// new request data
|
|
3126
3126
|
let url = request.urlWithParams.replace('http://localhost', this.session.getBasePath());
|
|
3127
|
+
// TODO fix me
|
|
3128
|
+
if (request.urlWithParams.includes('/kerb/sso')) {
|
|
3129
|
+
request = request.clone({
|
|
3130
|
+
url: url,
|
|
3131
|
+
});
|
|
3132
|
+
return next.handle(request);
|
|
3133
|
+
}
|
|
3127
3134
|
let headers = {};
|
|
3128
3135
|
// copy current headers
|
|
3129
3136
|
request.headers.keys().map((key) => {
|