Skip to content

microservices cross-origin headers #432

Description

@will-moore

IDR includes CORS headers in all standard responses, allowing sites at other origins to consume JSON, Images etc.

However, it seems that this is not the case with micro-services, so that when I try to view a rendered image from a page at another origin, this is now fails:
E.g. when working on idr-gallery locally, it is configured to load images from IDR. This still works for thumbnails but not full images:

Screenshot 2024-08-20 at 10 45 05

cc @khaledk2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions