mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +00:00
Healthcheck listen on localhost (#138)
This commit is contained in:
parent
112433e87a
commit
c0879a379f
@ -28,7 +28,7 @@ func main() {
|
|||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
// start health check service on port 11223
|
// start health check service on port 11223
|
||||||
healthcheck.New(healthcheck.ListenOn(":11223")).StartWithContext(ctx)
|
healthcheck.New(healthcheck.ListenOn("127.0.0.1:11223")).StartWithContext(ctx)
|
||||||
|
|
||||||
service := server.Server{}
|
service := server.Server{}
|
||||||
if err := service.Setup(ctx); err != nil {
|
if err := service.Setup(ctx); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user