Skip to content

Commit

Permalink
Revert "feat: Added headers (#2842)" (#2858)
Browse files Browse the repository at this point in the history
This reverts commit 2a130bb.

Co-authored-by: julias0 <[email protected]>
  • Loading branch information
Julias0 and Julias0 committed Apr 3, 2024
1 parent 6349703 commit 762eaae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/app/core/interceptors/httpInterceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,7 @@ export class HttpConfigInterceptor implements HttpInterceptor {
const osVersion = deviceInfo.osVersion;
const operatingSystem = deviceInfo.operatingSystem;
const mobileModifiedappVersion = `fyle-mobile::${appVersion}::${operatingSystem}::${osVersion}`;
request = request.clone({
setHeaders: {
'X-App-Version': mobileModifiedappVersion,
'X-Page-Url': `${window.location.href}`,
'X-Source-Identifier': 'mobile_app',
},
});
request = request.clone({ headers: request.headers.set('X-App-Version', mobileModifiedappVersion) });

return next.handle(request).pipe(
catchError((error) => {
Expand Down

0 comments on commit 762eaae

Please sign in to comment.