Skip to content

Commit

Permalink
Please print version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Hendry committed Feb 12, 2019
1 parent 53544fa commit be54329
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build:
main: ./up/main.go
main: ./web/main.go
env:
- CGO_ENABLED=0

Expand Down
1 change: 1 addition & 0 deletions invite.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ func (h handler) checkIfInvitationExistsAlready(MefeInvitationID string) (invite
}

func showversion(w http.ResponseWriter, r *http.Request) {
log.Infof("%v, commit %v, built at %v", version, commit, date)
fmt.Fprintf(w, "%v, commit %v, built at %v", version, commit, date)
}

Expand Down

0 comments on commit be54329

Please sign in to comment.