DEV Community

loading...

Discussion on: ✋🏼🔥 CS Visualized: CORS

Collapse
tommulkins profile image
Tom Mulkins • Edited

Those animations really make it easy to digest the topic.

I might have missed it above but important to note that Access-Control-Allow-Origin allows for a single origin value. Otherwise the server will need some middleware to return the header with the right origin value when more than one origin is allowed.

developer.mozilla.org/en-US/docs/W...

Collapse
lydiahallie profile image
Lydia Hallie Author

Ohhh yes! I made the mistake once by padding an array instead haha. I'll update the post accordingly asap :)