Add support for LBRY's streams.
This commit is contained in:
parent
a8981a44c7
commit
b7fdac0c1b
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -137,6 +137,7 @@ func main() {
|
||||||
http.HandleFunc("/ytc/", genericHTTPProxy)
|
http.HandleFunc("/ytc/", genericHTTPProxy)
|
||||||
http.HandleFunc("/ggpht/", genericHTTPProxy)
|
http.HandleFunc("/ggpht/", genericHTTPProxy)
|
||||||
http.HandleFunc("/sb/", genericHTTPProxy)
|
http.HandleFunc("/sb/", genericHTTPProxy)
|
||||||
|
http.HandleFunc("/api/v3/streams/", genericHTTPProxy)
|
||||||
socket := "socket" + string(os.PathSeparator) + "http-proxy.sock"
|
socket := "socket" + string(os.PathSeparator) + "http-proxy.sock"
|
||||||
syscall.Unlink(socket)
|
syscall.Unlink(socket)
|
||||||
listener, err := net.Listen("unix", socket)
|
listener, err := net.Listen("unix", socket)
|
||||||
|
|
Loading…
Add table
Reference in a new issue