NGPixel
2 years ago
No known key found for this signature in database
GPG Key ID: 8FDA2F1757F60D63
1 changed files with
1 additions and
1 deletions
-
server/models/assets.js
|
|
@ -104,7 +104,7 @@ module.exports = class Asset extends Model { |
|
|
|
WIKI.config.uploads.scanSVG && |
|
|
|
( |
|
|
|
opts.mimetype.toLowerCase().startsWith('image/svg') || |
|
|
|
opts.ext.toLowerCase() === 'svg' |
|
|
|
fileInfo.ext.toLowerCase() === '.svg' |
|
|
|
) |
|
|
|
) { |
|
|
|
const svgSanitizeJob = await WIKI.scheduler.registerJob({ |
|
|
|