This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 7d6146fc7 feat: updates backend to listen on both IPv4 and IPv6
addresses (#6990)
7d6146fc7 is described below
commit 7d6146fc709113445672f332f9af029faf737acd
Author: Wanis Fahmy <[email protected]>
AuthorDate: Fri Feb 23 13:48:10 2024 +0100
feat: updates backend to listen on both IPv4 and IPv6 addresses (#6990)
---
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)
}