summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.go b/config.go
index 4eb6dbc..7160c19 100644
--- a/config.go
+++ b/config.go
@@ -18,6 +18,9 @@ type config struct {
geminiRoot string
gopherRoot string
+ geminiRepos string
+ gopherRepos string
+
tlsKeyFile string
tlsCertFile string
@@ -49,6 +52,8 @@ func configure() config {
hostname: os.Getenv("HOST_NAME"),
geminiRoot: os.Getenv("GEMINI_ROOT"),
gopherRoot: os.Getenv("GOPHER_ROOT"),
+ geminiRepos: os.Getenv("GEMINI_REPOS"),
+ gopherRepos: os.Getenv("GOPHER_REPOS"),
tlsKeyFile: os.Getenv("TLS_KEY_FILE"),
tlsCertFile: os.Getenv("TLS_CERT_FILE"),