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 1031bb4 commit 97a4c4fCopy full SHA for 97a4c4f
packages/app/src/app/overmind/namespaces/files/internalActions.ts
@@ -93,7 +93,7 @@ export const uploadFiles: AsyncAction<
93
const extension = filePath.split('.').pop();
94
95
if (
96
- (textExtensions.includes(extension) ||
+ ((extension && textExtensions.includes(extension)) ||
97
file.type.startsWith('text/') ||
98
file.type === 'application/json') &&
99
dataURI.length < MAX_FILE_SIZE
0 commit comments