question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support GitLab url with custom path

See original GitHub issue

When gitlab is exposed on the path https://mydomain.com/gitlab cml cannot work with such types of urls - the generated api endpoint is https://mydomain.com/api/v4 but should be https://mydomain.com/gitlab/api/v4

Also it can be appropriate to support custom ports in the urls

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
0x2b3bfa0commented, Apr 6, 2021

🔔 @JIoJIaJIu, it should be fixed now.

1reaction
DavidGOrtegacommented, Apr 2, 2021

We can skip the last two path components and start from the root in order to optimize algorithm for the best case

No really needed if the url is a proper gl setup it will break before the proposed condition. It could be all promisified to test all possible endpoints at once.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitLab Pages domain names, URLs, and base URLs
GitLab Pages supports custom domains and subdomains, served under HTTP or HTTPS. See GitLab Pages custom domains and SSL/TLS Certificates for more ...
Read more >
GitLab - Linear Guide
Enable and set a custom URL for your self-hosted GitLab installation without any path (e.g. https://gitlab.yourcompany.com ). This URL needs to be ...
Read more >
GitLab integration - SonarQube Documentation
Redirect URI: enter your SonarQube URL with the path /oauth2/callback/gitlab . For example, https://sonarqube.mycompany.com/oauth2/callback/gitlab .
Read more >
Source · Pages · Administration · Help · GitLab
If you aren't supporting custom domains, a secondary IP isn't needed. ... to serve GitLab Pages and gitlab.example.com to the URL of your...
Read more >
Working With Custom API Path | Git Integration for Jira Self ...
For more information on GitLab custom API paths, see GitLab API. GitLab version API support: Gitlab v9.5 and above — only API v4....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found