Skip to content

Commit ca0fc6f

Browse files
committed
Issue #42: accept requests on /query path
ClickHouse accepts requests on both `/` and `/query` paths. See ClickHouse/clickhouse-odbc@8fcd279 .
1 parent 7106fce commit ca0fc6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ func serveHTTP(rw http.ResponseWriter, r *http.Request) {
223223
}
224224
proxy.refreshCacheMetrics()
225225
promHandler.ServeHTTP(rw, r)
226-
case "/":
226+
case "/", "/query":
227227
var err error
228228
var an *config.Networks
229229
if r.TLS != nil {

0 commit comments

Comments
 (0)