MCPcopy
hub / github.com/nestjs/nest / enableCors

Method enableCors

packages/common/interfaces/http/http-server.interface.ts:90–90  ·  view source on GitHub ↗
(options: any)

Source from the content-addressed store, hash-verified

88 getInstance(): ServerInstance;
89 registerParserMiddleware(...args: any[]): any;
90 enableCors(options: any): any;
91 getHttpServer(): any;
92 initHttpServer(options: NestApplicationOptions): void;
93 close(): any;

Callers 3

enableCorsMethod · 0.65
express.spec.tsFile · 0.65
fastify.spec.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected