fix(api): check file ext with magic

This commit is contained in:
hu.sima
2024-03-25 11:16:04 +08:00
parent b63ca2a059
commit 53943f1244
4 changed files with 64 additions and 30 deletions

View File

@@ -52,4 +52,5 @@ WTForms==3.0.0
shamir~=17.12.0
pycryptodomex>=3.19.0
colorama>=0.4.6
lz4>=4.3.2
lz4>=4.3.2
python-magic==0.4.27