This project is a demonstration of a bug for the developers of @fastify/cors
.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- Node.js (> 16.x)
- npm
A step by step series of examples that tell you how to get a development environment running:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install the dependencies using npm:
npm install
You can run the test using the following command:
npm run test
This test is broken with the installed @fastify/cors
version of 8.4.2
but working on the old version 8.4.1
You can start the service using the following commands:
npm run server