about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 16:47:43 +0200
committerAlan Pearce2024-06-29 16:47:43 +0200
commite8221541404a8d2ca0758d48ba5fe9c85f9067ac (patch)
treec06a6a58ab5003ff046f4d9a7aeed848982e64ce /internal/server
parenteaeb9bc26a696cc00888e4a7fbcb9dd6ab638c7a (diff)
downloadwebsite-e8221541404a8d2ca0758d48ba5fe9c85f9067ac.tar.lz
website-e8221541404a8d2ca0758d48ba5fe9c85f9067ac.tar.zst
website-e8221541404a8d2ca0758d48ba5fe9c85f9067ac.zip
add prefix to VCS configuration environment variables
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 890569c..3c43812 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -106,7 +106,7 @@ func New(runtimeConfig *Config) (*Server, error) {
 
 	if !runtimeConfig.Development {
 		vcsConfig := &vcs.Config{}
-		_, err := conf.Parse("", vcsConfig)
+		_, err := conf.Parse("VCS", vcsConfig)
 		if err != nil {
 			return nil, err
 		}