This commit is contained in:
tmshv committed 2017-01-23 01:14:44 +03:00
1 parent 4944e8cd4f
commit bbf1819d9d
2 files changed
+3

No files matched your search

+1
View File
@@ -41,6 +41,7 @@
"koa-compose": "^3.1.0", "koa-compose": "^3.1.0",
"koa-conditional-get": "^1.0.2", "koa-conditional-get": "^1.0.2",
"koa-convert": "^1.2.0", "koa-convert": "^1.2.0",
"koa-cookie": "^1.0.0",
"koa-etag": "^2.0.0", "koa-etag": "^2.0.0",
"koa-helmet": "^1.0.0", "koa-helmet": "^1.0.0",
"koa-logger": "^2.0.0", "koa-logger": "^2.0.0",
+2
View File
@@ -9,6 +9,7 @@ import etag from 'koa-etag'
import prerender from 'koa-prerender' import prerender from 'koa-prerender'
import helmet from 'koa-helmet' import helmet from 'koa-helmet'
import mount from 'koa-mount' import mount from 'koa-mount'
import cookie from 'koa-cookie'
import bodyParser from 'koa-bodyparser' import bodyParser from 'koa-bodyparser'
import apiV1 from 'hudozka-api-v1' import apiV1 from 'hudozka-api-v1'
@@ -36,6 +37,7 @@ export default function (store) {
})) }))
app.use(logger()) app.use(logger())
app.use(apis(store)) app.use(apis(store))
app.use(cookie())
app.use($(conditional())) app.use($(conditional()))
app.use($(etag())) app.use($(etag()))
app.use(prerenderRmFragment()) app.use(prerenderRmFragment())