diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 06:21:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 06:21:26 -0600 |
| commit | e7d71c78e22426e3b26b9d89b8ac2a3c02faded6 (patch) | |
| tree | 059993878ed1c10848b7ce022db553d55e63c446 /main.go | |
| parent | a76028dd23a0f43060e56098a5b0e56ae9c11bbb (diff) | |
GetPatchsets work
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -54,6 +54,10 @@ func main() { if me.urlbase == "" { me.urlbase = "https://go.wit.com/" } + if os.Getenv("FORGE_URL") != "" { + me.urlbase = os.Getenv("FORGE_URL") + log.Info("got forge url", me.urlbase) + } me.urlbase = strings.Trim(me.urlbase, "/") // track down why trailing '/' makes http POST not work // load the ~/.config/forge/ config |
