You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like the Items in my MongoDB to keep relative URIs to their assets' COGs in case of server migration for instance.
In the current implementation, in case of a relative href for an Asset, the STAC-fastAPI server's base URL is prepended to it. However, I would like my server serving the COGs to be hosted at a different address (probably same server but different port).
Describe the solution you'd like
Instead, is it possible to override the STAC-fastAPI server's base URL? I didn't find in the code where the base URL is defined, I saw base_url = get_base_url(request) but I didn't really understand that part.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like the Items in my MongoDB to keep relative URIs to their assets' COGs in case of server migration for instance.
In the current implementation, in case of a relative href for an Asset, the STAC-fastAPI server's base URL is prepended to it. However, I would like my server serving the COGs to be hosted at a different address (probably same server but different port).
Describe the solution you'd like
Instead, is it possible to override the STAC-fastAPI server's base URL? I didn't find in the code where the base URL is defined, I saw
base_url = get_base_url(request)
but I didn't really understand that part.The text was updated successfully, but these errors were encountered: