Fix file list
This commit is contained in:
parent
63aea3c593
commit
2bf4184707
@ -18,7 +18,7 @@ for await (
|
|||||||
const s = await Deno.stat(fullPath);
|
const s = await Deno.stat(fullPath);
|
||||||
allFiles.push({
|
allFiles.push({
|
||||||
name: fullPath.substring(rootDir.length + 1),
|
name: fullPath.substring(rootDir.length + 1),
|
||||||
lastModified: s.mtime!.getTime(),
|
lastModified: 0,
|
||||||
contentType: mime.getType(fullPath) || "application/octet-stream",
|
contentType: mime.getType(fullPath) || "application/octet-stream",
|
||||||
size: s.size,
|
size: s.size,
|
||||||
perm: "rw",
|
perm: "rw",
|
||||||
|
Loading…
Reference in New Issue
Block a user