🐛Fix bug with sending files with response stream

Also updated another dependencies and removed old version of the fastify multipart plugin
This commit is contained in:
Anton SHEPILOV
2024-05-23 22:37:55 +02:00
committed by Anton Shepilov
parent 999e3087e8
commit 2884193072
8 changed files with 67 additions and 288 deletions
@@ -2,7 +2,7 @@ import { logger, TdriveService } from "../../framework";
import { Server, IncomingMessage, ServerResponse } from "http";
import { FastifyInstance, fastify, FastifyRegisterOptions, FastifyServerOptions } from "fastify";
import sensible from "@fastify/sensible";
import multipart from "fastify-multipart";
import multipart from "@fastify/multipart";
import formbody from "@fastify/formbody";
import fastifyStatic from "@fastify/static";
import corsPlugin, { FastifyCorsOptions } from "@fastify/cors";