Skip to content

Commit

Permalink
Add Frontend URL into services web page
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Nov 16, 2020
1 parent 4713f9a commit 81ace84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/services.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
filenames...
<!-- services.tmpl -->
<div class="page">
<b>Frontend URL:</b>{{.Frontend}}
<br/>

<b>DBS instances</b><br />
DAS supports the following DBS instances:
<ul>
Expand Down
1 change: 1 addition & 0 deletions web/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ func ServicesHandler(w http.ResponseWriter, r *http.Request) {
tmplData["Base"] = config.Config.Base
tmplData["Rows"] = keysrows()
tmplData["Apis"] = apisrows()
tmplData["Frontend"] = config.Config.Frontend
page := templates.Services(config.Config.Templates, tmplData)
w.WriteHeader(http.StatusOK)
w.Write([]byte(_top + page + _bottom))
Expand Down

0 comments on commit 81ace84

Please sign in to comment.