egg
egg copied to clipboard
how to get app.config in agent.js?i think it's very common
Translation of this issue:
Can I get app.config in agent.js? I feel that this need is quite big.
// agent.js
module.exports = agent => {
console.log(agent.config);
});