mirror of
https://github.com/Hopiu/webapi-eca.git
synced 2026-03-16 22:10:31 +00:00
conflicts...
This commit is contained in:
parent
457a1c0852
commit
80d7162aba
2 changed files with 11 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ exports = module.exports = ( args ) =>
|
|||
if args.configPath
|
||||
loadConfigFile args.configPath
|
||||
else
|
||||
loadConfigFile path.join 'config', 'config.json'
|
||||
loadConfigFile path.join 'config', 'system.json'
|
||||
module.exports
|
||||
|
||||
###
|
||||
|
|
|
|||
10
config/system.json
Normal file
10
config/system.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"http-port": 8125,
|
||||
"db-port": 6379,
|
||||
"log": {
|
||||
"mode": "development",
|
||||
"io-level": "info",
|
||||
"file-level": "info",
|
||||
"file-path": "server.log"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue