Skip to content

Glossary: Building APIs with Node.js

@fastify/cors

Also written: cors plugin

A Fastify plugin that sets CORS headers and answers browsers' preflight requests.

Where the book teaches it

Related terms

CORS (Cross-Origin Resource Sharing)Preflight