diff options
| author | tjpcc <tjp@ctrl-c.club> | 2023-09-17 18:39:02 -0600 |
|---|---|---|
| committer | tjpcc <tjp@ctrl-c.club> | 2023-09-17 18:39:02 -0600 |
| commit | 8b6ec37932c72e41c66d82337748dc75eba57f25 (patch) | |
| tree | 02a2cd3414c2ea3980a5eca327f7f0c54039f01e /config.go | |
| parent | b8cd694a2d4e4f12caa413b0407c2b7a7f836d45 (diff) | |
add syw and gemini and gopher routers at /git/
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"), |
