diff --git a/index.ts b/index.ts index 1dad053..614e2be 100644 --- a/index.ts +++ b/index.ts @@ -87,7 +87,7 @@ fastify.addHook("preHandler", (req, res, done) => { if (media) { // @ts-ignore - req.logType = cyan("IMAGE"); + req.logType = cyan("MEDIA"); const fileStore = HashFS.GetHashFSInstance("images"); const readStream = createReadStream(join(fileStore.path, fileStore.GetRelativePath(media.Hash))); res.raw.writeHead(200, HeaderUtility.CombineHeaders({