Merge pull request #1717 from molecula/CORE-844_webUI_rename

CORE-844: remove Pilosa name and website from curl handler for webUI endpoints
This commit is contained in:
souhailanoor 2021-09-28 17:23:51 -05:00 • committed by GitHub
commit e5479390b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,7 +527,7 @@ func newStatikHandler(h *Handler) statikHandler {
func (s statikHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if strings.HasPrefix(r.UserAgent(), "curl") {
msg := "Welcome. Pilosa v" + s.handler.api.Version() + " is running. Visit https://www.pilosa.com/docs/ for more information."
msg := "Welcome. FeatureBase v" + s.handler.api.Version() + " is running. Visit https://docs.molecula.cloud for more information."
if s.statikFS != nil {
msg += " Try the Web UI by visiting this URL in your browser."
}