去除hook 自动识别127.0.0.1

pull/10/head
648540858 2020-12-07 10:54:52 +08:00
parent 0046d32f1c
commit 42ebf24ad4
1 changed files with 0 additions and 3 deletions

View File

@ -100,9 +100,6 @@ public class ZLMRunner implements CommandLineRunner {
if (StringUtils.isEmpty(mediaHookIp)) {
mediaHookIp = sipIP;
}
if (mediaIp.equals(mediaHookIp)) {
mediaHookIp = "127.0.0.1";
}
String hookPrex = String.format("http://%s:%s/index/hook", mediaHookIp, serverPort);
Map<String, Object> param = new HashMap<>();