Add bull and caching
This commit is contained in:
@@ -89,7 +89,11 @@ export class KvController {
|
||||
: Buffer.from(body)
|
||||
: file.buffer,
|
||||
secretKey,
|
||||
{ public: publicFlag, mimeType: file.mimetype ?? 'text/plain' },
|
||||
{
|
||||
public: publicFlag,
|
||||
mimeType:
|
||||
file?.mimetype ?? request.headers['content-type'] ?? 'text/plain',
|
||||
},
|
||||
);
|
||||
}
|
||||
return 'No secret key provided within X-Secret-Key header';
|
||||
|
Reference in New Issue
Block a user