diff --git a/webserver/whip.go b/webserver/whip.go index 59fbe7e..324d7d6 100644 --- a/webserver/whip.go +++ b/webserver/whip.go @@ -146,7 +146,7 @@ func whipEndpointHandler(w http.ResponseWriter, r *http.Request) { } pth, kind, pthid := splitPath(r.URL.Path) - if kind != ".whip" || pthid != "/" { + if kind != ".whip" || pthid != "" { http.Error(w, "Internal server error", http.StatusInternalServerError) return