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

warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 0313c1212427ab15de991c31ea0310211a327cf4
Author: Mr.An <[email protected]>
AuthorDate: Sat Jun 18 17:01:42 2022 +0800

    add default gitee endpoint
---
 config/config.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/config.go b/config/config.go
index aeab9def..02fad7cf 100644
--- a/config/config.go
+++ b/config/config.go
@@ -71,6 +71,7 @@ func setDefaultValue(v *viper.Viper) {
        v.SetDefault("TEMPORAL_TASK_QUEUE", "DEVLAKE_TASK_QUEUE")
        v.SetDefault("GITLAB_ENDPOINT", "https://gitlab.com/api/v4/";)
        v.SetDefault("GITHUB_ENDPOINT", "https://api.github.com/";)
+       v.SetDefault("GITEE_ENDPOINT", "https://gitee.com/api/v5/";)
 }
 
 // replaceNewEnvItemInOldContent replace old config to new config in env file 
content

Reply via email to