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 127dddd commit f2c8715Copy full SHA for f2c8715
packages/data-provider/src/file-config.ts
@@ -45,6 +45,7 @@ export const fullMimeTypesList = [
45
'text/x-tex',
46
'text/plain',
47
'text/css',
48
+ 'text/vtt',
49
'image/jpeg',
50
'text/javascript',
51
'image/gif',
@@ -180,7 +181,6 @@ export const fileConfig = {
180
181
serverFileSizeLimit: defaultSizeLimit,
182
avatarSizeLimit: mbToBytes(2),
183
checkType: function (fileType: string, supportedTypes: RegExp[] = supportedMimeTypes) {
- console.log('!!!!!!!!! Checking file type for:', fileType);
184
return supportedTypes.some((regex) => regex.test(fileType));
185
},
186
};
0 commit comments