about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--fly.toml4
-rw-r--r--internal/server/server.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/fly.toml b/fly.toml
index 1194b67..7508dd6 100644
--- a/fly.toml
+++ b/fly.toml
@@ -16,8 +16,8 @@ primary_region = "ams"
   TLS = "true"
   ROOT = "/data"
   PRODUCTION = "true"
-  LOCAL_PATH = "/data/website"
-  REMOTE_URL = "https://git.alanpearce.eu/website.git"
+  VCS_LOCAL_PATH = "/data/website"
+  VCS_REMOTE_URL = "https://git.alanpearce.eu/website.git"
 
 [[services]]
   internal_port = 8080
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
 		}