diff --git a/src/app/item-page/simple/field-components/preview-section/file-description/file-description.component.ts b/src/app/item-page/simple/field-components/preview-section/file-description/file-description.component.ts index ebeec24cd31..6a2b69acdce 100644 --- a/src/app/item-page/simple/field-components/preview-section/file-description/file-description.component.ts +++ b/src/app/item-page/simple/field-components/preview-section/file-description/file-description.component.ts @@ -10,7 +10,7 @@ const allowedPreviewFormats = ['text/plain', 'text/html', 'application/zip', 'ap styleUrls: ['./file-description.component.scss'], }) export class FileDescriptionComponent { - MIME_TYPE_IMAGES_PATH = '/assets/images/mime/'; + MIME_TYPE_IMAGES_PATH = './assets/images/mime/'; MIME_TYPE_DEFAULT_IMAGE_NAME = 'application-octet-stream.png'; @Input() diff --git a/src/app/shared/clarin-item-box-view/clarin-item-box-view.component.ts b/src/app/shared/clarin-item-box-view/clarin-item-box-view.component.ts index 8dc1defc1f1..687ee86dfdd 100644 --- a/src/app/shared/clarin-item-box-view/clarin-item-box-view.component.ts +++ b/src/app/shared/clarin-item-box-view/clarin-item-box-view.component.ts @@ -44,7 +44,7 @@ export class ClarinItemBoxViewComponent implements OnInit { protected readonly AUTHOR_METADATA_FIELDS = AUTHOR_METADATA_FIELDS; - ITEM_TYPE_IMAGES_PATH = '/assets/images/item-types/'; + ITEM_TYPE_IMAGES_PATH = './assets/images/item-types/'; ITEM_TYPE_DEFAULT_IMAGE_NAME = 'application-x-zerosize.png'; /** diff --git a/src/themes/dspace/app/header/header.component.html b/src/themes/dspace/app/header/header.component.html index e7d72813b75..db6ab5ce03e 100644 --- a/src/themes/dspace/app/header/header.component.html +++ b/src/themes/dspace/app/header/header.component.html @@ -5,7 +5,7 @@