We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd3dd1 commit abbd288Copy full SHA for abbd288
packages/open-next/src/utils/binary.ts
@@ -60,7 +60,7 @@ const commonBinaryMimeTypes = new Set([
60
]);
61
62
export function isBinaryContentType(contentType?: string | null) {
63
- if (contentType == null) return false;
+ if (!contentType) return false;
64
65
const value = contentType.split(";").at(0);
66
if (value == null) return false;
0 commit comments