调试:本地测试不加密

This commit is contained in:
luying
2021-03-12 11:04:42 +08:00
parent 3ca574dd04
commit 49cba48d4f
4 changed files with 14 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ export default (appInfo: EggAppInfo) => {
'.html': 'nunjucks' //左边写成.html后缀会自动渲染.html文件
},
};
config.decodeParm = true;
config.static = {
prefix: '/',