preflight

0.2.0 • Public • Published

Preflight

Preflight requests middleware.

Installation

npm install preflight

Usage

preflight = require('preflight');
...
app.use(preflight());

With this middleware enable after CORS and before authentication, every preflight request will return a 200 http code.

License

MIT License, see LICENSE

Readme

Keywords

none

Package Sidebar

Install

npm i preflight

Weekly Downloads

2

Version

0.2.0

License

none

Last publish

Collaborators

  • guillaumebiton