Skip to content

Glossary: Real-Time Apps with WebSockets

CORS

Also written: cors, Cross-Origin Resource Sharing

The browser rule that decides which other origins may make requests to a server. Socket.IO's `cors` option lists the sites allowed, such as the React app on `http://localhost:5173`.

Where the book teaches it

Related terms

OriginCross-site WebSocket hijacking