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:
authorIgor Wiedler <iwiedler@gitlab.com>2020-04-30 11:46:28 +0300
committerIgor Wiedler <iwiedler@gitlab.com>2020-04-30 11:46:28 +0300
commit333138397f79ae4857abd775804359cbbf23aeac (patch)
tree2e7cdcc0c635fcba96fa5d276c3fdabe06520050 /app_config.go
parent245060539bcca5e6d52f38bee1c9d23a516911d3 (diff)
rename internal-gitlab-server to gitlab-api-server (as per @@krasio)
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.