docs: comment on explicit main branch match

This commit is contained in:
quaff 2024-10-16 00:21:27 -07:00
parent 7b207c046c
commit 8ce1b0514b
No known key found for this signature in database
GPG key ID: E1BF1FDE24A291D4

View file

@ -56,6 +56,7 @@ export function processURI (uri) {
fetcher: E.Fetcher.HTTP, fetcher: E.Fetcher.HTTP,
accessRestriction: E.ProofAccessRestriction.NONE, accessRestriction: E.ProofAccessRestriction.NONE,
data: { data: {
// explicitly matching for `main` branch
url: `https://git.sr.ht/~${match[1]}/${match[2]}/blob/main/proof.md`, url: `https://git.sr.ht/~${match[1]}/${match[2]}/blob/main/proof.md`,
format: E.ProofFormat.TEXT format: E.ProofFormat.TEXT
} }