Skip to content

How to ensure that selected root-path prefix is included in the service-desc document #489

Answered by geospatial-jeff
jfbourgon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jfbourgon please check out the planetary computer source code for an example of how to do this, their docs endpoint appears to route to the correct endpoints and Try it out buttons are working (https://github.com/microsoft/planetary-computer-apis/blob/main/pcstac/pcstac/api.py#L22-L26).

Running behind a proxy is common enough it might make sense to pull this into stac-fastapi.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jfbourgon
Comment options

@jfbourgon
Comment options

Answer selected by jfbourgon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants