Skip to content

feat: Proxy UNESCO images through the Laravel backend for reliable display #475

Closed

Description

@zigzagdev

Overview

Direct browser requests to UNESCO's CDN are blocked by CORS/CORP restrictions in certain environments.
This epic routes all image fetches through our own Laravel backend, eliminating browser-level security constraints entirely.

Sub-issues (all must be closed to consider this done)

Completion definition

All five sub-issues are closed and images render without errors in production.

Background

The browser enforces CORS and CORP policies when fetching cross-origin resources.
Server-to-server HTTP requests (PHP → UNESCO CDN) bypass these restrictions, so wrapping the fetch in a Laravel controller is the most reliable fix.

Related table

world_heritage_site_images

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions