Fixed view dirs

This commit is contained in:
mrfry 2020-10-05 09:55:14 +02:00
parent 63829bb914
commit 362d3136f5
6 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@ let url = '' // http(s)//asd.basd
function GetApp() {
app.set('view engine', 'ejs')
app.set('views', ['./modules/main/views', './sharedViews'])
app.set('views', ['./src/modules/main/views', './sharedViews'])
publicdirs.forEach((pdir) => {
logger.Log(`Using public dir: ${pdir}`)
app.use(express.static(pdir))