mkdir fiche root

This commit is contained in:
Evert Prants 2022-11-27 08:46:53 +02:00
parent df314a2226
commit b625622727
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ async function init () {
const themeFileHash = calculateHash(themeFile)
const scriptFileHash = calculateHash(scriptFile)
await fsp.mkdir(root, { recursive: true })
await fsp.access(root, fs.constants.F_OK)
router.get('/theme.css', (req, res) => {