重构环境变量管理,添加脚本查看

This commit is contained in:
hanhh
2021-06-20 17:47:12 +08:00
parent 7ed1abde36
commit 0fade7a5a9
30 changed files with 848 additions and 976 deletions
+4 -2
View File
@@ -1,17 +1,19 @@
import { Router } from 'express';
import auth from './auth';
import cookie from './cookie';
import env from './env';
import config from './config';
import log from './log';
import cron from './cron';
import script from './script';
export default () => {
const app = Router();
auth(app);
cookie(app);
env(app);
config(app);
log(app);
cron(app);
script(app);
return app;
};