mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 18:50:20 +08:00
默认关闭hook功能
This commit is contained in:
parent
c4f364c487
commit
2da3ab0c34
@ -74,7 +74,7 @@ const string kOnHttpAccess = HOOK_FIELD"on_http_access";
|
||||
const string kAdminParams = HOOK_FIELD"admin_params";
|
||||
|
||||
onceToken token([](){
|
||||
mINI::Instance()[kEnable] = true;
|
||||
mINI::Instance()[kEnable] = false;
|
||||
mINI::Instance()[kTimeoutSec] = 10;
|
||||
mINI::Instance()[kOnPublish] = "https://127.0.0.1/index/hook/on_publish";
|
||||
mINI::Instance()[kOnPlay] = "https://127.0.0.1/index/hook/on_play";
|
||||
|
Loading…
Reference in New Issue
Block a user