mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
fix: #9074, fix svg uploads
This commit is contained in:
@@ -86,7 +86,7 @@ image.size = async function (path) {
|
||||
};
|
||||
|
||||
image.stripEXIF = async function (path) {
|
||||
if (!meta.config.stripEXIFData || path.endsWith('.gif')) {
|
||||
if (!meta.config.stripEXIFData || path.endsWith('.gif') || path.endsWith('.svg')) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user