Use this little website to test if a URL is setup correctly to work with CORS.
Shareable link: https://cors-test.codehappy.dev/?method=get&url=https%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F1419580485358002177%2FT426TzJw_400x400.jpg
These are the response headers received when making the request.
accept-ranges: bytes
access-control-allow-origin: *
access-control-expose-headers: Content-Length
cache-control: public, max-age=604800
cf-cache-status: MISS
cf-ray: 8e35831d335b61ad-ORD
connection: keep-alive
content-length: 10775
content-type: image/jpeg
date: Sat, 16 Nov 2024 06:44:23 GMT
expires: Sat, 23 Nov 2024 06:44:23 GMT
last-modified: Mon, 26 Jul 2021 08:46:56 GMT
perf: 7402827104
server: cloudflare
strict-transport-security: max-age=631138519
timing-allow-origin: https://twitter.com, https://mobile.twitter.com
vary: Accept-Encoding
x-cache: MISS
x-connection-hash: accc8877749be8d5d1bef60062ae5a0ed86750b7c51dc0a7a4d1224ea9efbcd6
x-content-type-options: nosniff
x-response-time: 16
x-transaction-id: defc0a285b036ec2
x-tw-cdn: CF, CF
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.