Allow writes, kinda

website
Zef Hemel 2022-07-15 14:30:43 +02:00
parent 4a7934f9d8
commit 7a86c4ef56
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
/fs/* /fs/*
Last-Modified: 0 Last-Modified: 0
X-Permission: ro X-Permission: rw

View File

@ -22,7 +22,7 @@ getFiles(rootDir).then((files) => {
.replace(/\.md$/, "") .replace(/\.md$/, "")
.replace(/\.plug\.json$/, ""), .replace(/\.plug\.json$/, ""),
lastModified: 0, lastModified: 0,
perm: "ro", perm: "rw",
})) }))
.filter((pageMeta) => !pageMeta.name.startsWith(".")); .filter((pageMeta) => !pageMeta.name.startsWith("."));
console.log(JSON.stringify(files, null, 2)); console.log(JSON.stringify(files, null, 2));