mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Merge pull request #2313 from 4Science/fix-duplicate-headers
[CST-5729] Fix duplicate links for download page
This commit is contained in:
@@ -108,7 +108,6 @@ export class BitstreamDownloadPageComponent implements OnInit {
|
||||
|
||||
signpostingLinks.forEach((link: SignpostingLink) => {
|
||||
links = links + (isNotEmpty(links) ? ', ' : '') + `<${link.href}> ; rel="${link.rel}"` + (isNotEmpty(link.type) ? ` ; type="${link.type}" ` : ' ');
|
||||
links = links + (isNotEmpty(links) ? ', ' : '') + `<${link.href}> ; rel="${link.rel}" ; type="${link.type}" `;
|
||||
});
|
||||
|
||||
this.responseService.setHeader('Link', links);
|
||||
|
Reference in New Issue
Block a user