Monorepo for Tangled โ€” https://tangled.org

knotserver: redirect handle-path to did-path #705

open
opened by boltless.me targeting master from push-xpolynpvotzt

fixing issue reported on discord: https://discord.com/channels/1361963801993285692/1361966362653757450/1430609124114301060

knotserver: redirect handle-path to did-path

this will allow handle based url when cloning from knot over https
usually appview will resolve this before redirecting to the knot

this implementation just redirects to resolved path instead of passing
the entire identity for performance. As we won't want to resolve same
identity twice when proxied by appview.

Signed-off-by: Seongmin Lee <git@boltless.me>
0
by boltless.me 2 comments
expand 1 commit
knotserver: redirect handle-path to did-path

...I hate markdown

ah wait, this doesn't work

sign up or login to add to the discussion
1
by boltless.me 1 comment
expand 1 commit
knotserver: redirect handle-path to did-path

ready for review! tested https-clone, ssh-clone, ssh-push all still working fine.

sign up or login to add to the discussion
2
by boltless.me 1 comment
expand 1 commit
knotserver: redirect handle-path to did-path

will give this a test locally; but that being said, the knotserver need not provide the full API layer that the appview provides. but IMO this one is pretty nice to have (maybe we want all the rerouting rules in that case?).

failed to check merge status: invalid xrpc request
sign up or login to add to the discussion
Labels
bugfix
assignee

None yet.

Participants 2
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m3sj67z25x22