From 8b6ec37932c72e41c66d82337748dc75eba57f25 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sun, 17 Sep 2023 18:39:02 -0600 Subject: add syw and gemini and gopher routers at /git/ --- config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.go') 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"), -- cgit v1.2.3