web: thread Auth.SSH config into CloneURLs (was hardcoded false)
- SHA
cfc46c1ac25681827a1b090240b901434f360d75- Parents
-
8b23268 - Tree
56ceaca
cfc46c1
cfc46c1ac25681827a1b090240b901434f360d758b23268
56ceaca| Status | File | + | - |
|---|---|---|---|
| M |
internal/web/repo_wiring.go
|
2 | 1 |
internal/web/repo_wiring.gomodified@@ -81,7 +81,8 @@ func buildRepoHandlers( | ||
| 81 | 81 | ShithubdPath: shithubdPath, |
| 82 | 82 | CloneURLs: repoh.CloneURLs{ |
| 83 | 83 | 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, | |
| 85 | 86 | }, |
| 86 | 87 | }) |
| 87 | 88 | } |