Skip to content

Conversation

@StefanVanDyck
Copy link
Contributor

For the Flemish Biodiversity Portal we switched to using subpaths for routing all our services.
There were a few places in the pipelines that force the use of absolute paths.
This should fix that.

@vjrj vjrj self-assigned this Sep 30, 2025
@vjrj vjrj self-requested a review October 1, 2025 07:25
@vjrj vjrj removed their assignment Oct 1, 2025
Copy link
Collaborator

@vjrj vjrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was concerned if this affects to current use of pipelines by other LA portals using subdomains, but reading: https://square.github.io/retrofit/2.x/retrofit/retrofit2/Retrofit.Builder.html

Base URLs should always end in /.
A trailing / ensures that endpoints values which are relative paths will correctly append themselves to a base which has path components.
(...)
This method enforces that baseUrl has a trailing /.

So it seems that this will not impact to the rest of us and LGTM. Anyway, in the worst of the cases, we only should add a '/' in our URL configurations.

@djtfmartin djtfmartin merged commit d9b134f into gbif:dev Oct 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants