diff --git a/main.go b/main.go index 76b902a..2e005b4 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,7 @@ func (p *PreviewConfig) OnEvent(event any) { var _ = InstallPlugin(&PreviewConfig{}) func (p *PreviewConfig) ServeHTTP(w http.ResponseWriter, r *http.Request) { - if r.URL.Path == "/preview/" { + if r.URL.Path == "/" { var s string Streams.Range(func(streamPath string, stream *Stream) { s += fmt.Sprintf("%s [ %s ]
", streamPath, streamPath, stream.GetType())