This is an automated email from the ASF dual-hosted git repository.

abeizn 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 b88cb5ad6 fix(framework): adapt old port (#4556)
b88cb5ad6 is described below

commit b88cb5ad6fc00e432f6adda7b27d005005415b89
Author: Warren Chen <[email protected]>
AuthorDate: Wed Mar 1 14:12:31 2023 +0800

    fix(framework): adapt old port (#4556)
---
 backend/server/api/api.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/server/api/api.go b/backend/server/api/api.go
index 821437a7e..27f04013e 100644
--- a/backend/server/api/api.go
+++ b/backend/server/api/api.go
@@ -105,6 +105,7 @@ func CreateApiService() {
 
        RegisterRouter(router)
        port := v.GetString("PORT")
+       port = strings.TrimLeft(port, ":")
        if remotePluginsEnabled {
                go bootstrapRemotePlugins(v)
        }

Reply via email to