From b62562272762277c1df1e13ea330656523697d32 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 27 Nov 2022 08:46:53 +0200 Subject: [PATCH] mkdir fiche root --- applications/highlight-termbin/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/highlight-termbin/index.js b/applications/highlight-termbin/index.js index cb81e34..ad8c13f 100644 --- a/applications/highlight-termbin/index.js +++ b/applications/highlight-termbin/index.js @@ -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) => {