We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebadd52 commit a8c1370Copy full SHA for a8c1370
src/stac_auth_proxy/middleware/ProcessLinksMiddleware.py
@@ -99,7 +99,7 @@ def _update_link(
99
scheme=request_url.scheme
100
)
101
102
- # Rewrite the link path
+ # Remove the upstream prefix from the link path
103
if upstream_url.path != "/" and parsed_link.path.startswith(upstream_url.path):
104
parsed_link = parsed_link._replace(
105
path=parsed_link.path[len(upstream_url.path) :]
0 commit comments