Accept general text/* files on post import

This fixes an issue with Safari not allowing users to select *.md files.

Closes #334
This commit is contained in:
Matt Baer 2021-04-06 15:59:32 -04:00
parent 0c7aba1f53
commit f8888df746
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
<div class="formContainer">
<form id="importPosts" class="prominent" enctype="multipart/form-data" action="/api/me/import" method="POST">
<label>Select some files to import:
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/markdown, text/plain"/>
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/*"/>
</label>
<input id="fileDates" name="fileDates" hidden/>
<label>