markr
markr
TTCTheo's Typesafe Cult
Created by markr on 1/30/2025 in #questions
How to handle both "image/x-icon" and "image/vnd.microsoft.icon"
found out how to do it, my syntax was just wrong correct way:
f({
"image/x-icon": { maxFileSize: "32KB", maxFileCount: 1 },
"image/vnd.microsoft.icon": { maxFileSize: "32KB", maxFileCount: 1 },
}).middlewre...
f({
"image/x-icon": { maxFileSize: "32KB", maxFileCount: 1 },
"image/vnd.microsoft.icon": { maxFileSize: "32KB", maxFileCount: 1 },
}).middlewre...
4 replies