File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 22
33We follow the CalVer (https://calver.org/ ) versioning scheme: YY.MINOR.MICRO.
44
5+ 26.6.1 (2026-03-26)
6+ ===================
7+
8+ * Hotfix to prevent redirect on 403 error
9+
51026.6.0 (2026-03-26)
611===================
712
Original file line number Diff line number Diff line change 11{
22 "name" : " osf" ,
3- "version" : " 26.6.0 " ,
3+ "version" : " 26.6.1 " ,
44 "scripts" : {
55 "ng" : " ng" ,
66 "analyze-bundle" : " ng build --configuration=analyze-bundle && source-map-explorer dist/**/*.js --no-border-checks" ,
Original file line number Diff line number Diff line change 1- import { HttpClient } from '@angular/common/http' ;
1+ import { HttpClient , HttpHeaders } from '@angular/common/http' ;
22import { inject , Injectable } from '@angular/core' ;
33
44import { ENVIRONMENT } from '@core/provider/environment.provider' ;
@@ -18,6 +18,9 @@ export class MetadataRecordsService {
1818
1919 getMetadataRecord ( osfid : string , format : MetadataRecordFormat ) {
2020 const url = `${ this . webUrl } /metadata/${ osfid } /?format=${ format } ` ;
21- return this . http . get ( url , { responseType : 'text' } ) ;
21+ return this . http . get ( url , {
22+ responseType : 'text' ,
23+ headers : new HttpHeaders ( { 'X-No-Auth-Redirect' : 'true' } ) ,
24+ } ) ;
2225 }
2326}
You can’t perform that action at this time.
0 commit comments