+ cookie
This commit is contained in:
1 parent
4944e8cd4f
commit
bbf1819d9d
2 files changed
+3
No files matched your search
@@ -41,6 +41,7 @@
|
||||
"koa-compose": "^3.1.0",
|
||||
"koa-conditional-get": "^1.0.2",
|
||||
"koa-convert": "^1.2.0",
|
||||
"koa-cookie": "^1.0.0",
|
||||
"koa-etag": "^2.0.0",
|
||||
"koa-helmet": "^1.0.0",
|
||||
"koa-logger": "^2.0.0",
|
||||
|
||||
@@ -9,6 +9,7 @@ import etag from 'koa-etag'
|
||||
import prerender from 'koa-prerender'
|
||||
import helmet from 'koa-helmet'
|
||||
import mount from 'koa-mount'
|
||||
import cookie from 'koa-cookie'
|
||||
import bodyParser from 'koa-bodyparser'
|
||||
|
||||
import apiV1 from 'hudozka-api-v1'
|
||||
@@ -36,6 +37,7 @@ export default function (store) {
|
||||
}))
|
||||
app.use(logger())
|
||||
app.use(apis(store))
|
||||
app.use(cookie())
|
||||
app.use($(conditional()))
|
||||
app.use($(etag()))
|
||||
app.use(prerenderRmFragment())
|
||||
|
||||
Reference in new issue
Block a user