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

@@ -66,6 +66,7 @@ hvac = "==2.0.0"
colorama = ">=0.4.6"
pycryptodomex = ">=3.19.0"
lz4 = ">=4.3.2"
python-magic = "==0.4.27"
[dev-packages]
# Testing