콘텐츠로 이동
한국어

cors

이 콘텐츠는 아직 번역되지 않았습니다.

cors(options, child): Route

Defined in: src/http/middleware/Cors.ts:35

Apply the CORS policy to child’s subtree. Validates the options up front: origins is required, and credentials cannot be combined with '*' (the Fetch spec forbids Access-Control-Allow-Origin: * with credentials).

CorsOptions

Route

Route