mirror of
https://github.com/D4M13N-D3V/neroshitron.git
synced 2025-03-14 10:05:04 +00:00
fix :nsfw not bluring
This commit is contained in:
parent
052bc21604
commit
adfab3585b
@ -66,6 +66,9 @@ export async function GET(
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
if(gallery.nsfw){
|
||||||
|
blobBuffer = await blurImage(blobBuffer);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
const contentType = files[0].name.endsWith('.png') ? 'image/png' : 'image/jpeg';
|
const contentType = files[0].name.endsWith('.png') ? 'image/png' : 'image/jpeg';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user