Skip to content

Commit 3897b61

Browse files
committed
Don't show browser welcome on URL match failures
1 parent 79e19d2 commit 3897b61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/bonanza_browser/browser_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func wrapHandler(handler func(http.ResponseWriter, *http.Request) (g.Node, error
8484

8585
// RegisterHandlers registers handlers for serving web pages in a mux.
8686
func (s *BrowserService) RegisterHandlers(mux *http.ServeMux) {
87-
mux.HandleFunc("/", wrapHandler(s.doWelcome))
87+
mux.HandleFunc("/{$}", wrapHandler(s.doWelcome))
8888
mux.HandleFunc(
8989
"/evaluation/{instance_name}/{reference_format}/{reference}/{key}",
9090
wrapHandler(s.doEvaluation),

0 commit comments

Comments
 (0)