fix: แก้เงื่อนไขโหลดไฟล์แฟ้มย่อย

This commit is contained in:
puri-ph4tt 2023-12-15 15:07:25 +07:00
parent c29978d110
commit 0f9b500c2f

View file

@ -18,7 +18,7 @@ async function downloadSubmit(path: string | undefined) {
const arr = path.split('/')
if (arr.length < 3 || arr.length > 4) return
if (arr.length < 4 || arr.length > 5) return
const file = arr.pop()