[www] minor refactoring and remove console.log

This commit is contained in:
Roman Timashev committed 2017-10-15 12:33:25 +03:00
1 parent 0ebf8c7185
commit c9a24c008b
4 files changed
+1 -26

No files matched your search

-2
View File
@@ -16,7 +16,6 @@ import handlebars from 'handlebars'
const {sessionConfig, view404} = require('./config')
const error = require('./middlewares/error')
const redirectFragment = require('./middlewares/redirectFragment')
const redirect = require('./middlewares/redirect')
const home = require('./routes/home')
const article = require('./routes/articles')
@@ -65,7 +64,6 @@ export default function (config) {
app.use(error.notFound(view404))
app.use(sitemap())
app.use(redirectFragment())
app.use(home.getHome(config.articlesPerPage))
app.use(gallery.getGallery())