fastify-uws
fastify-uws copied to clipboard
uWebSocket.js for fastify
A bug occurs when using a POST request with credentials and passing data through the request.body. If credentials not using or if turn off serverFactory, so all works is correctly....
```ts import multipart from '@fastify/multipart'; fastify.register(multipart); // ---------- import fs from 'node:fs'; import path from 'node:path'; import { pipeline } from 'node:stream/promises'; fastify.post('/upload', async (req, reply) => { const data...
Fix lacking function. Absence caused Unhandled Promise Rejection with @fastify/multipart
I get an error when I try to import your library, because it's not properly packaged up for both ESM and CJS module definitions. You can setup your package.json like...