A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
54
fork

Configure Feed

Select the types of activity you want to include in your feed.

Can we have an empty string as pathPrefix? #20

open opened by cuducos.me

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 = pathPrefix

Hey there! Yes this is a great point, sorry I missed this case! Will make a patch to fix it

@cuducos.me Fixed in !53 and release v0.5.4! If you run the upgrade command you should see the changes reflected 🫡

npm i -g sequoia-cli@latest
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:3272gdrjsuikiff7qsgokgas/sh.tangled.repo.issue/3mjb2cky6hf22