about summary refs log tree commit diff stats
path: root/cmd/build/build.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/build/build.go')
-rw-r--r--cmd/build/build.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/build/build.go b/cmd/build/build.go
index 254eff2..326b964 100644
--- a/cmd/build/build.go
+++ b/cmd/build/build.go
@@ -566,7 +566,10 @@ func main() {
 		log.Panic(errors.Errorf("could not get config: %v", err))
 	}
 
-	config.BaseURL = ioConfig.BaseURL
+	config.BaseURL.URL, err = url.Parse(ioConfig.BaseURL.String())
+	if err != nil {
+		log.Panic(errors.Errorf("highly unlikely: %v", err))
+	}
 
 	err = os.RemoveAll(ioConfig.Destination)
 	if err != nil {