[Glitch] Add end-to-end test for OCR in media uploads

Port ca8fbda5d0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main-rebase-security-fix
Claire 2024-02-08 20:13:44 +01:00
parent ad0be125f5
commit 3ffb81e04f
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ class UploadButton extends ImmutablePureComponent {
key={resetFileKey} key={resetFileKey}
ref={this.setRef} ref={this.setRef}
type='file' type='file'
name='file-upload-input'
multiple multiple
accept={acceptContentTypes.toArray().join(',')} accept={acceptContentTypes.toArray().join(',')}
onChange={this.handleChange} onChange={this.handleChange}