Skip to content

blocked by CORS policy #119

@DemonicCodeSlayer

Description

@DemonicCodeSlayer

loadImage( 'https://st.grafia.ink/media/upload/46b38f192dfeb27362d03bd8234e28a5.jpg, (img, data) => { console.log(data); }, { meta: true }, )

response - "Access to fetch at 'https://st.grafia.ink/media/upload/46b38f192dfeb27362d03bd8234e28a5.jpg' from origin 'http://localhost:3100' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled"

How do I put mode: "no-cors" in loadImage?

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