chore: cleanup, node14 and new admin default

This commit is contained in:
Taranto 2020-10-16 17:26:30 +01:00 committed by Josh Harvey
parent c7c18633d7
commit 89bb9a8f25
244 changed files with 3957 additions and 39487 deletions

View file

@ -250,7 +250,7 @@ const certOptions = {
cert: fs.readFileSync(options.certPath)
}
app.use(serveStatic(path.resolve(__dirname, '..', '..', 'public')))
app.use(serveStatic(path.resolve(__dirname, 'public')))
if (!fs.existsSync(idPhotoCardBasedir)) {
makeDir.sync(idPhotoCardBasedir)