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:
authorKrasimir Angelov <kangelov@gitlab.com>2019-11-27 06:04:09 +0300
committerKrasimir Angelov <kangelov@gitlab.com>2019-11-27 06:04:09 +0300
commitd7483484c73f7516d2721398cee9b13601dbad3c (patch)
tree95c2dce44181baf5e450b384fa3bd022538be8bc /app_config.go
parent9c69ac5306545be017701dfff7afe25c8b814c3f (diff)
Read the context of api-secret-key file and store it in app config
as GitLabAPISecretKey
Diffstat (limited to 'app_config.go')
-rw-r--r--app_config.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/app_config.go b/app_config.go
index b870626d..f9be6545 100644
--- a/app_config.go
+++ b/app_config.go
@@ -25,12 +25,13 @@ type appConfig struct {
LogFormat string
LogVerbose bool
- StoreSecret string
- GitLabServer string
- ClientID string
- ClientSecret string
- RedirectURI string
- SentryDSN string
- SentryEnvironment string
- CustomHeaders []string
+ StoreSecret string
+ GitLabServer string
+ GitLabAPISecretKey []byte
+ ClientID string
+ ClientSecret string
+ RedirectURI string
+ SentryDSN string
+ SentryEnvironment string
+ CustomHeaders []string
}