bleeping
coder
Projects
JavaScript
TypeScript
Python
C++
C#
Go
Egg: 中间件如何读取Config.default.js中的配置?
Created on 17 Jul 2018
·
2
Comments
·
Source:
eggjs/egg
Source
Most helpful comment
ctx.app.config
,参见
文档
All 2 comments
Translation of this issue:
How do middleware read the configuration in Config.default.js?
ctx.app.config
,参见
文档
Was this page helpful?
0
/ 5 -
0
ratings
Related issues
老夫有一小建议,可否把全部代码里的ctx 改成context
Quekie
·
3
Comments
前台页面直接输出后台JSON数据
Ailein
·
3
Comments
npm init egg --type=xxx 是否可以支持 生成 ts 版的plugin?
ycvcb123
·
3
Comments
egg-session-redis 的 redis.set 失败
Azard
·
3
Comments
egg富文本编辑器求推荐?
bupafengyu
·
3
Comments
Most helpful comment
ctx.app.config,参见 文档