This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch release-v0.21
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.21 by this push:
new 1b052c8cf feat: updates backend to listen on both IPv4 and IPv6
addresses (#6992)
1b052c8cf is described below
commit 1b052c8cfcfb95698391d376e2d2b91a91019c62
Author: Wanis Fahmy <[email protected]>
AuthorDate: Fri Feb 23 13:49:00 2024 +0100
feat: updates backend to listen on both IPv4 and IPv6 addresses (#6992)
(cherry picked from commit d15956ede20307bbc500e8f589984c3c87294987)
---
backend/server/api/api.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/server/api/api.go b/backend/server/api/api.go
index a4894cf67..e04e9e678 100644
--- a/backend/server/api/api.go
+++ b/backend/server/api/api.go
@@ -166,7 +166,7 @@ func RunApiServer(router *gin.Engine) {
}
// Start the server
- err = router.Run(fmt.Sprintf("0.0.0.0:%d", portNum))
+ err = router.Run(fmt.Sprintf(":%d", portNum))
if err != nil {
panic(err)
}