Skip to content

Commit

Permalink
Show version in api
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Nov 5, 2022
1 parent 6d7a79e commit f580ca3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ func runRoot(cmd *cobra.Command, args []string) {
site.DumpConfig()
site.Prepare(valueChan, pushChan)

// version check
// show and check version
valueChan <- util.Param{Key: "version", Val: server.FormattedVersion()}
go updater.Run(log, httpd, tee, valueChan)

// capture log messages for UI
Expand Down

0 comments on commit f580ca3

Please sign in to comment.