MCPcopy
hub / github.com/prisma/prisma / optionsResponse

Function optionsResponse

packages/cli/src/Studio.ts:674–679  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

672}
673
674function optionsResponse(): Response {
675 return emptyResponse(204, {
676 'Access-Control-Allow-Headers': 'Content-Type',
677 'Access-Control-Allow-Methods': 'GET, HEAD, POST, OPTIONS',
678 })
679}
680
681function textResponse(text: string, status: number, headers?: Record<string, string>): Response {
682 return withCors(

Callers 1

Calls 1

emptyResponseFunction · 0.85

Tested by

no test coverage detected