koa static update
This commit is contained in:
1 parent
f9a3cad849
commit
0c7a446fb2
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -35,7 +35,7 @@
|
||||
"koa-logger": "^2.0.0",
|
||||
"koa-prerender": "^1.0.3",
|
||||
"koa-route": "^3.1.0",
|
||||
"koa-static": "^2.0.0",
|
||||
"koa-static": "^3.0.0",
|
||||
"mongodb": "^2.1.11",
|
||||
"mz": "^2.3.1",
|
||||
"request-promise": "^2.0.1",
|
||||
|
||||
+2
-2
@@ -36,8 +36,8 @@ export default function(){
|
||||
app.use($(etag()));
|
||||
app.use(prerenderRmFragment());
|
||||
app.use($(prerender(config.prerender)));
|
||||
app.use($(serve(dirPublic)));
|
||||
app.use($(serve(dirTemplates)));
|
||||
app.use(serve(dirPublic));
|
||||
app.use(serve(dirTemplates));
|
||||
app.use($(redirect(redirectionTable)));
|
||||
app.use($(helmet()));
|
||||
app.use(queryObject());
|
||||
|
||||
Reference in new issue
Block a user