Skip to content

Commit

Permalink
made stac default
Browse files Browse the repository at this point in the history
  • Loading branch information
janf committed Nov 22, 2023
1 parent 3e1bacc commit 30d7641
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/cogserver/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@

############################# STAC #######################################
# STAC endpoints
if not api_settings.disable_stac:
stac = MultiBaseTilerFactory(
reader=STACReader,
router_prefix="/stac",
extensions=[
#stacViewerExtension(),
],
path_dependency=SignedDatasetPath,
)

app.include_router(
stac.router, prefix="/stac", tags=["SpatioTemporal Asset Catalog"]
)

stac = MultiBaseTilerFactory(
reader=STACReader,
router_prefix="/stac",
extensions=[
#stacViewerExtension(),
],
path_dependency=SignedDatasetPath,
)

app.include_router(
stac.router, prefix="/stac", tags=["SpatioTemporal Asset Catalog"]
)

###############################################################################

Expand Down

0 comments on commit 30d7641

Please sign in to comment.