Can we have an empty string as pathPrefix?
did:plc:3272gdrjsuikiff7qsgokgas opened this Apr 12, 2026 2 comments
did:plc:3272gdrjsuikiff7qsgokgas opened Apr 12, 2026
My blog has no path prefix for posts — it is just domain-slash-slug as in https://cuducos.me/building-a-custom-bluesky-feed-part-1.html
If I set "pathPrefix": "" in sequoia.json it gets overwritten by this line:
const prefix = pathPrefix || "/posts";I am not an Typescript expert, so… just asking: would it make sense to change this line to something like this to allow empty prefixes?
if (pathPrefix === undefined || pathPrefix === null) {
pathPrefix = "/posts"
}
const prefix = pathPrefixNo activity yet.