feat: use dynamical config

This commit is contained in:
DIYgod
2019-09-18 17:45:21 +08:00
parent 4526bc411c
commit 4445443946
50 changed files with 54 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
const got = require('@/utils/got');
const config = require('@/config');
const config = require('@/config').value;
module.exports = async (ctx) => {
const user = ctx.params.user;