Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app_config.go')
-rw-r--r--app_config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app_config.go b/app_config.go
index 44e37f13..06679892 100644
--- a/app_config.go
+++ b/app_config.go
@@ -29,7 +29,7 @@ type appConfig struct {
StoreSecret string
GitLabServer string
- InternalGitLabServer string
+ GitLabAPIServer string
GitLabAPISecretKey []byte
GitlabClientHTTPTimeout time.Duration
GitlabJWTTokenExpiration time.Duration
@@ -43,7 +43,7 @@ type appConfig struct {
// GitlabServerURL returns URL to a GitLab instance.
func (config appConfig) GitlabServerURL() string {
- return config.InternalGitLabServer
+ return config.GitLabAPIServer
}
// GitlabClientSecret returns GitLab server access token.