feat: refact certMgr and httpsServerMgr into TS

This commit is contained in:
砚然
2018-08-28 15:47:04 +08:00
parent 201447a19a
commit 5bf6a55323
8 changed files with 123 additions and 72 deletions

View File

@@ -4,7 +4,7 @@ const koaBody = require('koa-body');
const send = require('koa-send');
const path = require('path');
const https = require('https');
const certMgr = require('../../lib/certMgr');
const certMgr = require('../../lib/certMgr').default;
const fs = require('fs');
const nurl = require('url');
const color = require('colorful');