File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
stac_fastapi/types/stac_fastapi/types Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -581,9 +581,7 @@ async def landing_page(self, **kwargs) -> stac_types.LandingPage:
581
581
"rel" : "service-desc" ,
582
582
"type" : "application/vnd.oai.openapi+json;version=3.0" ,
583
583
"title" : "OpenAPI service description" ,
584
- "href" : urljoin (
585
- str (request .base_url ), request .app .openapi_url .lstrip ("/" )
586
- ),
584
+ "href" : urljoin (base_url , request .app .openapi_url .lstrip ("/" )),
587
585
}
588
586
)
589
587
@@ -593,9 +591,7 @@ async def landing_page(self, **kwargs) -> stac_types.LandingPage:
593
591
"rel" : "service-doc" ,
594
592
"type" : "text/html" ,
595
593
"title" : "OpenAPI service documentation" ,
596
- "href" : urljoin (
597
- str (request .base_url ), request .app .docs_url .lstrip ("/" )
598
- ),
594
+ "href" : urljoin (base_url , request .app .docs_url .lstrip ("/" )),
599
595
}
600
596
)
601
597
You can’t perform that action at this time.
0 commit comments