Skip to content

getThumbnail adds access_token which break Netlify Image CDN #287

@moemar

Description

@moemar

When getting a image url through const { getThumbnail } = useDirectusFiles() we do get an 403 error from Netlify Image CDN saying the query parameter is not supported.

That is because the getThumbnail return an url with an added access_token at the end. And this is not supported by Netlify.
How can we get around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions