rename config.js to Config.js because since last commit it returns object instead of function"

This commit is contained in:
陆柯 2020-03-15 20:25:13 +08:00
parent 7488365051
commit 9e2acb9043

View File

@ -1,7 +1,7 @@
const fs = require('fs') const fs = require('fs')
const path = require('path') const path = require('path')
var Config = require('so.base/config.js') var Config = require('so.base/Config.js')
if (!Config || Object.keys(Config).length===0) { if (!Config || Object.keys(Config).length===0) {
Config = { // 默认配置,如果用户什么也没有提供 Config = { // 默认配置,如果用户什么也没有提供
protocol: 'http', protocol: 'http',