Repository: jesseduffield/lazygit (language: go)

Issue:
Custom services do not work anymore
**Describe the bug**
I have two gitlab instances configured but during creation of a pull request or opening a commit I will be redirected to gitlab.com instead of the configured instance.

**To Reproduce**
Steps to reproduce the behavior:
1. configure a custom pull request url:
```
services:
  '<gitDomain>': '<provider>:<webDomain>'
```
2. Try to open a pull request
3. See error

**Expected behavior**
I should be redirected to the configured instance.

**Desktop (please complete the following information):**
 - OS: Windows/Linux/macOS
 - Lazygit Version 0.32.2

**Last working version**
0.31.4



Discussion / hints:
What's the repo url for your instance (if it's not confidential)?

I suspect we just need to check against the configured instances before checking against the defaults in `pkg/commands/hosting_service/hosting_service.go` (`getCandidateServiceDomains function`). I'll add a good-first-issue label
Sry but both instances are confidential.
The issue is here:
https://github.com/jesseduffield/lazygit/blob/1f923bdc4ba96ad21846797aadfacf5ecb3890e1/pkg/commands/hosting_service/hosting_service.go#L83-L87

Just adding the defaultServices after the custom ones wouldn't help because if I configure two gitlab services the first one would be pulled for both cases.

Fix patch:
diff --git a/pkg/commands/hosting_service/hosting_service.go b/pkg/commands/hosting_service/hosting_service.go
index 1762902a480..3fd2a7bd650 100644
--- a/pkg/commands/hosting_service/hosting_service.go
+++ b/pkg/commands/hosting_service/hosting_service.go
@@ -80,9 +80,7 @@ func (self *HostingServiceMgr) getServiceDomain(repoURL string) (*ServiceDomain,
 	candidateServiceDomains := self.getCandidateServiceDomains()
 
 	for _, serviceDomain := range candidateServiceDomains {
-		// I feel like it makes more sense to see if the repo url contains the service domain's git domain,
-		// but I don't want to break anything by changing that right now.
-		if strings.Contains(repoURL, serviceDomain.serviceDefinition.provider) {
+		if strings.Contains(repoURL, serviceDomain.gitDomain) {
 			return &serviceDomain, nil
 		}
 	}


Test patch: