Authored by yyq

path decode

Showing 1 changed file with 2 additions and 0 deletions
... ... @@ -145,6 +145,7 @@ try {
const layoutTools = require('./doraemon/middleware/layout-tools');
const pageCache = require('./doraemon/middleware/page-cache');
const devtool = require('./doraemon/middleware/devtools');
const pathDecode = require('./doraemon/middleware/path-decode');
const routeEncode = require('./doraemon/middleware/route-encode');
// YOHO 前置中间件
... ... @@ -164,6 +165,7 @@ try {
app.use(setPageInfo());
app.use(layoutTools());
app.use(pageCache());
app.use(pathDecode());
app.use(routeEncode.md);
if (app.locals.devEnv) {
... ...