remove http writer

This commit is contained in:
Jeff Carr 2024-11-07 01:39:26 -06:00
parent 3c1b670663
commit 6a2e9d294d
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
var route string
route = cleanURL(r.URL.Path)
log.HttpMode(w)
defer log.HttpMode(nil)
// common http args that can be set
repoName := r.URL.Query().Get("repo")

View File

@ -24,7 +24,7 @@ func main() {
me.releaseReasonS = os.Getenv("GUIRELEASE_REASON")
if me.releaseReasonS == "" {
log.Info("GUIRELEASE_VERSION not set")
log.Info("shell ENV GUIRELEASE_REASON not set")
os.Exit(0)
}