diff --git a/nginx/live-umm-gay.conf b/nginx/live-umm-gay.conf index 0560139..d5987cd 100644 --- a/nginx/live-umm-gay.conf +++ b/nginx/live-umm-gay.conf @@ -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; diff --git a/wish-server/main.go b/wish-server/main.go index 9ba9d17..8eb046a 100644 --- a/wish-server/main.go +++ b/wish-server/main.go @@ -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,