alepha@docs:~/docs/packages/alepha/server$
cat cors.md
1 min read
Last commit:

#Alepha - Server Cors

#Installation

Part of the alepha package. Import from alepha/server/cors.

npm install alepha

#Overview

Cross-Origin Resource Sharing configuration.

Features:

  • CORS policy definition

#API Reference

#Primitives

  • $cors — Middleware that applies CORS headers to the response and handles OPTIONS preflight.