Load config from config/all

This commit is contained in:
斟酌 鵬兄 2022-04-03 21:53:42 +09:00
parent 8918cdd058
commit 81dd7dc96b

2
api.js
View File

@ -6,7 +6,7 @@ var events = require( "events" );
var zlib = require( "zlib" ); var zlib = require( "zlib" );
var http = require( "http" ); var http = require( "http" );
var conf = cl.load( "config.botanjs" ); var conf = cl.load( "config.all" ).botanjs;
var Session = cl.load( "botansx.modular.session" ); var Session = cl.load( "botansx.modular.session" );
var hash = cl.load( "botansx.utils.hash" ); var hash = cl.load( "botansx.utils.hash" );