Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getProxy
Method · 0.95
getProxyUrl
Method · 0.45
Calls
2
getIp
Method · 0.95
getPort
Method · 0.95
Tested by
no test coverage detected