Skip to content

Commit

Permalink
Issue #42: accept requests on /query path
Browse files Browse the repository at this point in the history
ClickHouse accepts requests on both `/` and `/query` paths. See ClickHouse/clickhouse-odbc@8fcd279 .
  • Loading branch information
valyala committed Mar 8, 2019
1 parent 7106fce commit ca0fc6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func serveHTTP(rw http.ResponseWriter, r *http.Request) {
}
proxy.refreshCacheMetrics()
promHandler.ServeHTTP(rw, r)
case "/":
case "/", "/query":
var err error
var an *config.Networks
if r.TLS != nil {
Expand Down

0 comments on commit ca0fc6f

Please sign in to comment.