Skip to content

CORS problem with code splitting #1194

Open
@khmelevskii

Description

@khmelevskii

I'm storing all application modules which shadow-cljs bult on CDN (in my case it's AWS CloudFront).

When application is trying to lazy load chunk I have a cors problem

Access to XMLHttpRequest at 'https://mycdn.test.com/v1.264.1/js/sign-in.77297BAA.js' from origin 'https://helloworld.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

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