修正监控ip问题
This commit is contained in:
parent
c95eb2d060
commit
a6660cdb6a
@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class ToolsApplication {
|
||||
public static final String version="1.4.4.4";
|
||||
public static final String version="1.4.4.5";
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("当前版本号:" + version);
|
||||
|
@ -296,8 +296,7 @@ public class NasManager {
|
||||
@RequestMapping("/nas/door/cctv.do")
|
||||
public void getDoorCCTV(HttpServletResponse response){
|
||||
try {
|
||||
System.out.println("???");
|
||||
response.sendRedirect(NasUrl+":9999/live/index.m3u8");
|
||||
response.sendRedirect(UpdateIp.nas_ip+":9999/live/index.m3u8");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
@ -308,7 +307,7 @@ public class NasManager {
|
||||
if(!name.endsWith(".ts")){
|
||||
return;
|
||||
}
|
||||
response.sendRedirect(NasUrl+":9999/live/"+request.getRequestURI().replace("/nas/door/",""));
|
||||
response.sendRedirect(UpdateIp.nas_ip+":9999/live/"+request.getRequestURI().replace("/nas/door/",""));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user