Make contextBuilder ignore static asset paths (#926)
* Make contextBuilder ignore static asset paths * simplify by serving static assets before context handler * lint
This commit is contained in:
Родитель
9a6960a57f
Коммит
d20390eedd
|
@ -50,9 +50,9 @@ app.use(requestLanguage({
|
|||
url: '/languages/{language}'
|
||||
}
|
||||
}))
|
||||
app.use(express.static(__dirname))
|
||||
app.use(contextBuilder)
|
||||
app.use(blog)
|
||||
app.use(express.static(__dirname))
|
||||
app.use(browsersync())
|
||||
|
||||
// Routes
|
||||
|
|
Загрузка…
Ссылка в новой задаче