去除hook 自动识别127.0.0.1
parent
0046d32f1c
commit
42ebf24ad4
|
@ -100,9 +100,6 @@ public class ZLMRunner implements CommandLineRunner {
|
||||||
if (StringUtils.isEmpty(mediaHookIp)) {
|
if (StringUtils.isEmpty(mediaHookIp)) {
|
||||||
mediaHookIp = sipIP;
|
mediaHookIp = sipIP;
|
||||||
}
|
}
|
||||||
if (mediaIp.equals(mediaHookIp)) {
|
|
||||||
mediaHookIp = "127.0.0.1";
|
|
||||||
}
|
|
||||||
|
|
||||||
String hookPrex = String.format("http://%s:%s/index/hook", mediaHookIp, serverPort);
|
String hookPrex = String.format("http://%s:%s/index/hook", mediaHookIp, serverPort);
|
||||||
Map<String, Object> param = new HashMap<>();
|
Map<String, Object> param = new HashMap<>();
|
||||||
|
|
Loading…
Reference in New Issue