summaryrefslogtreecommitdiff
path: root/http-server/main.go
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2021-05-14 00:04:12 +0400
committerAndrew <saintruler@gmail.com>2021-05-14 00:04:12 +0400
commitf4c8eef1af781dfd5ef192520ba069eacd9f98cb (patch)
treef1f02bf63241dc668b1df00e6cd76d0b3d67d766 /http-server/main.go
parentef420777f603c05e8bed5520868779cc15e9d578 (diff)
Added default value and better parser for server url.
Diffstat (limited to 'http-server/main.go')
-rw-r--r--http-server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-server/main.go b/http-server/main.go
index 965af5c..8c86ddf 100644
--- a/http-server/main.go
+++ b/http-server/main.go
@@ -266,7 +266,7 @@ func pollMessages(w http.ResponseWriter, r *http.Request) {
return
}
- log.Printf("[PollMessages] (%s) Sent messages to client\n", req.User)
+ //log.Printf("[PollMessages] (%s) Sent messages to client\n", req.User)
data, _ := json.Marshal(messages)
_ = jsonResponse(w, Response{
Message: string(data),