This commit is contained in:
Eugene Pankov
2021-07-26 17:56:35 +02:00
parent 151a2fab60
commit cbd8a93909
15 changed files with 84 additions and 327 deletions

View File

@@ -31,7 +31,7 @@ function start () {
app.set('view engine', 'html')
app.set('views', DIST_FOLDER)
app.get('*.*', express.static(DIST_FOLDER, {
app.get('*.*', express.static(join(DIST_FOLDER, 'static'), {
maxAge: '1y',
}))