Use API endpoint to determine self hosted gitlab URL
Currently our code checks against gitlab.com to determine gitlab links, considering how we already have the self hosted gitlab instance API URL, we should be able to use that URL to determine gitlab links as well. We should make this adjustment in the next iteration