MCPcopy Create free account
hub / github.com/FongMi/TV / getUrl

Method getUrl

catvod/src/main/java/com/github/catvod/Proxy.java:17–19  ·  view source on GitHub ↗
(boolean local)

Source from the content-addressed store, hash-verified

15 }
16
17 public static String getUrl(boolean local) {
18 return "http://" + (local ? "127.0.0.1" : Util.getIp()) + ":" + getPort() + "/proxy";
19 }
20}

Callers 2

getProxyMethod · 0.95
getProxyUrlMethod · 0.45

Calls 2

getIpMethod · 0.95
getPortMethod · 0.95

Tested by

no test coverage detected