Skip to content

feat: Add PREFIX_PATH config #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fabito
Copy link

@fabito fabito commented Jul 16, 2025

Related Issue(s):

Description:
This adds a new config PREFIX_PATH that is used when instantiating a StacApi by passing the router kwarg: router=APIRouter(prefix=settings.prefix_path)

The new setting is documented and the default value is an empty string.

PR Checklist:

  • pre-commit hooks pass locally
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
  • Changes are added to the CHANGELOG.

This adds a new config `PREFIX_PATH` that is used when instantiating a StacApi by passing the router kwarg:
router=APIRouter(prefix=settings.prefix_path)

The new setting is documented and the default value is an empty string.
@fabito fabito marked this pull request as ready for review July 16, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant