Skip to content

Glossary: Rust in Practice

CORS (cross-origin resource sharing)

Also written: CORS, CORS policy

A browser security rule about which pages may load resources from other places. A page opened straight from disk is blocked by it from loading wasm modules, so you serve the folder instead.

Where the book teaches it