rename sol.sysconfig to sol.enviconfig
This commit is contained in:
parent
698c925c36
commit
b47663d35c
@ -15,7 +15,7 @@
|
||||
"morgan": "^1.9.0",
|
||||
"multer": "^1.4.2",
|
||||
"serve-favicon": "^2.5.0",
|
||||
"sol.sysconfig": "git+https://git.faronear.org/npm/sol.sysconfig",
|
||||
"sol.enviconfig": "git+https://git.faronear.org/npm/sol.enviconfig",
|
||||
"sol.webtoken": "git+https://git.faronear.org/npm/sol.webtoken",
|
||||
"vhost": "^3.0.2"
|
||||
},
|
||||
|
@ -1,7 +1,7 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const Config = require('sol.sysconfig')({
|
||||
const Config = require('sol.enviconfig')({
|
||||
commanderOptions: [
|
||||
// 命令行里可以接受的参数。将传给 config.js 里的 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给commander,取值后覆盖掉Config里的同名变量。
|
||||
['protocol', '-P, --protocol <string>', 'Web Server protocol: http|https|httpall.'],
|
||||
|
Loading…
Reference in New Issue
Block a user