🐛 Fix(custom): fix an issue the image in local can't show in manage page

This commit is contained in:
Kuingsmile
2026-01-03 09:47:50 +08:00
parent 21e79af1c6
commit 0db59266a2

View File

@@ -93,7 +93,7 @@ try {
load: yaml.load, load: yaml.load,
}, },
mime: { mime: {
lookup: mime.getType.bind, lookup: mime.getType.bind(mime),
}, },
buffer: { buffer: {
from: Buffer.from, from: Buffer.from,