Add pathPrefix support for local storage mode
This PR aims to solve Thinkmill/keystatic#1431.
It allows using a pathPrefix in local mode, which is useful for editing content files outside of the project root for example but is not limited to this use case.
It is designed to have minimal footprint on the rest of the codebase.
⚠️ No Changeset found
Latest commit: 55b144d828bff3866f7e1d321db41cdaa0e8c297
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Providing a localBaseDirectory to the API route is the intended way to do this
@emmatown , could you elaborate with an example or point me to some resource please, since it is not documented? How should I configure this?
I noticed the localBaseDirectory but it seemed on a different level of abstraction... not really something meant to be easily customized in the config.