Skip to content

Commit

Permalink
Fix webui server bug (#32992)
Browse files Browse the repository at this point in the history
  • Loading branch information
caoboxiao committed Mar 1, 2021
1 parent cde4736 commit 6f4fe34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions validator/js/webui/serve-standalone.go
Expand Up @@ -84,6 +84,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
}
w.Header().Set("Content-type", "text/javascript")
w.Write(bytes)
return
}
// Look up any other resources relative to node_modules or webui.
relative_path := r.RequestURI[1:] // Strip leading "/".
Expand Down

0 comments on commit 6f4fe34

Please sign in to comment.