Fix wish server path
This commit is contained in:
parent
178dce64cd
commit
f0cf5e0a62
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ server {
|
|||
proxy_pass http://127.0.0.1:3000/;
|
||||
}
|
||||
|
||||
location ^~ /api/whip-server {
|
||||
location ^~ /api/wish-server/ {
|
||||
proxy_pass http://127.0.0.1:3001/;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
|
|
|
@ -50,8 +50,8 @@ func main() {
|
|||
|
||||
runningStreams = map[string]WebRTCStream{}
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/api/whip-server/whip", withCors(HandleWHIP))
|
||||
mux.HandleFunc("/api/whip-server/whep", withCors(HandleWHEP))
|
||||
mux.HandleFunc("/api/wish-server/whip", withCors(HandleWHIP))
|
||||
mux.HandleFunc("/api/wish-server/whep", withCors(HandleWHEP))
|
||||
|
||||
log.Fatal((&http.Server{
|
||||
Handler: mux,
|
||||
|
|
Loading…
Reference in a new issue