tenseleyflow/shithub / cfc46c1

Browse files

web: thread Auth.SSH config into CloneURLs (was hardcoded false)

Authored by espadonne
SHA
cfc46c1ac25681827a1b090240b901434f360d75
Parents
8b23268
Tree
56ceaca

1 changed file

StatusFile+-
M internal/web/repo_wiring.go 2 1
internal/web/repo_wiring.gomodified
@@ -81,7 +81,8 @@ func buildRepoHandlers(
8181
 		ShithubdPath: shithubdPath,
8282
 		CloneURLs: repoh.CloneURLs{
8383
 			BaseURL:    cfg.Auth.BaseURL,
84
-			SSHEnabled: false, // S12/S13 will flip this when SSH service ships.
84
+			SSHEnabled: cfg.Auth.SSH.Enabled,
85
+			SSHHost:    cfg.Auth.SSH.Host,
8586
 		},
8687
 	})
8788
 }