Closed josephguillaume closed 2 months ago
pos-image fails to fetch on public URLs without cors enabled, e.g.,
`
In cases like this, it would make sense to not use a data uri. Perhaps this could be detected based on status code from the fetch? https://github.com/pod-os/PodOS/blob/7d2693a3b47cc3bc837060bc761d5aabf42c2b27/elements/src/components/pos-image/pos-image.tsx#L51
fixed in the latest version 0.18.0
pos-image fails to fetch on public URLs without cors enabled, e.g.,
`
`
In cases like this, it would make sense to not use a data uri. Perhaps this could be detected based on status code from the fetch? https://github.com/pod-os/PodOS/blob/7d2693a3b47cc3bc837060bc761d5aabf42c2b27/elements/src/components/pos-image/pos-image.tsx#L51