GlenTiki / fastify-cors-bug

This project is a demonstration of a bug for the developers of @fastify/cors.

Repository from Github https://github.comGlenTiki/fastify-cors-bugRepository from Github https://github.comGlenTiki/fastify-cors-bug

fastify bug report

This project is a demonstration of a bug for the developers of @fastify/cors.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

  • Node.js (> 16.x)
  • npm

Installing

A step by step series of examples that tell you how to get a development environment running:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Install the dependencies using npm:
npm install

Running the Tests

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

Running the Service

You can start the service using the following commands:

npm run server

About

This project is a demonstration of a bug for the developers of @fastify/cors.


Languages

Language:JavaScript 100.0%