We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since version 6.1.0 of fastify-cors, it will throw a warning:
6.1.0
fastify-cors
index.js from [email protected]:
[email protected]
unneeded
enableCors()
const app = await NestFactory.create<NestFastifyApplication>(AppModule, new FastifyAdapter()); app.enableCors(); await app.listen(3000);
npm run start:dev
No Warning
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
No response
8.4.5
16.15.0 LTS
related PR #9540
The text was updated successfully, but these errors were encountered:
this will be fixed by #9507
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Current behavior
Since version
6.1.0
offastify-cors
, it will throw a warning:index.js from
[email protected]
:Minimum reproduction code
unneeded
Steps to reproduce
enableCors()
method on the Nest application object:npm run start:dev
Expected behavior
No Warning
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
8.4.5
Packages versions
Node.js version
16.15.0 LTS
In which operating systems have you tested?
Other
related PR #9540
The text was updated successfully, but these errors were encountered: