kopia lustrzana https://github.com/bugout-dev/moonstream
Fixed bug with path
rodzic
745e072d1a
commit
2b454dfc01
|
@ -152,7 +152,7 @@ func InitServer() {
|
||||||
|
|
||||||
serveMux := http.NewServeMux()
|
serveMux := http.NewServeMux()
|
||||||
serveMux.HandleFunc("/ping", pingRoute)
|
serveMux.HandleFunc("/ping", pingRoute)
|
||||||
serveMux.HandleFunc("/lb/", lbHandler)
|
serveMux.HandleFunc("/nb/", lbHandler)
|
||||||
|
|
||||||
// Set common middlewares, from bottom to top
|
// Set common middlewares, from bottom to top
|
||||||
commonHandler := logMiddleware(serveMux)
|
commonHandler := logMiddleware(serveMux)
|
||||||
|
|
Ładowanie…
Reference in New Issue