core: db upd

This commit is contained in:
undefined committed 2020-12-19 01:33:23 +08:00
1 parent e7794090b2
commit fc3321688f
4 files changed
+89 -40

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ export async function load() {
const opts = options();
await db.start(opts);
const modelSystem = require('../model/system');
await modelSystem.runConfig();
const [endPoint, accessKey, secretKey, bucket, region, endPointForUser, endPointForJudge] = modelSystem.getMany([
'file.endPoint', 'file.accessKey', 'file.secretKey', 'file.bucket', 'file.region',
'file.endPointForUser', 'file.endPointForJudge',