Version 2.2

- Add new template "terminal"
- Add feature to flush cache of user on server
- Server app improvement
- Created metrics common
- Package json loaded in setup
This commit is contained in:
lowlighter
2020-10-24 00:32:53 +02:00
parent 26bc499ef7
commit ca0a6d559e
18 changed files with 556 additions and 63 deletions

View File

@@ -21,7 +21,7 @@
const assets = {}
const templates = path.join(__dirname, "..", "src/templates")
for (const name of await fs.promises.readdir(templates)) {
if (/^index.mjs$/.test(name))
if (/.*[.]mjs$/.test(name))
continue
console.log(`Including template ${name}`)
const files = [