换用 npm/so.* 库
This commit is contained in:
@@ -14,7 +14,7 @@ const Config = Object.assign(
|
||||
],
|
||||
*/
|
||||
},
|
||||
require('sysconfig')
|
||||
require('so.sysconfig')
|
||||
)
|
||||
if (typeof Config.ssl === 'string') {
|
||||
Config.ssl = eval(`(${Config.ssl})`)
|
||||
@@ -25,7 +25,7 @@ if (typeof Config.ssl === 'string') {
|
||||
|
||||
const express = require('express')
|
||||
const server = express()
|
||||
const webtoken = require('webtoken')
|
||||
const webtoken = require('so.webtoken')
|
||||
|
||||
/*** 通用中间件 ***/
|
||||
server.use(require('morgan')('development' === server.get('env') ? 'dev' : 'combined'))
|
||||
|
||||
Reference in New Issue
Block a user