mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-20 21:41:32 +01:00
[skip ci] Fix format
This commit is contained in:
parent
943906d8a3
commit
2847b5ee45
@ -15,7 +15,7 @@ function decodeFileName(str) {
|
||||
* @param {import('express').NextFunction} next Next middleware
|
||||
*/
|
||||
function multerMonkeyPatch(req, _res, next) {
|
||||
try{
|
||||
try {
|
||||
if (req.file) {
|
||||
req.file.originalname = decodeFileName(req.file.originalname);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user