summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-09-17 18:39:02 -0600
committertjpcc <tjp@ctrl-c.club>2023-09-17 18:39:02 -0600
commit8b6ec37932c72e41c66d82337748dc75eba57f25 (patch)
tree02a2cd3414c2ea3980a5eca327f7f0c54039f01e /config.go
parentb8cd694a2d4e4f12caa413b0407c2b7a7f836d45 (diff)
add syw and gemini and gopher routers at /git/
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"),