kiranandcode / ocamlot

An Activitypub server in OCaml!
https://ocamlot.xyz
GNU Affero General Public License v3.0
66 stars 4 forks source link

Mastodon UX interop(?) /activity/ vs /post/ #6

Open mlinksva opened 1 year ago

mlinksva commented 1 year ago

https://mastodon.social/@Gopiandcode@ocamlot.xyz/110286424755582597

Open original link gets https://ocamlot.xyz/activity/065e55c0-1ccd-4eb2-a8c2-b48b4fffb037 which obtains some json, instead of https://ocamlot.xyz/post/065e55c0-1ccd-4eb2-a8c2-b48b4fffb037 which is probably what a user wants to see.

kiranandcode commented 1 year ago

Ah, perfect, thanks for the report! I guess if the request content-type is text/html I should probably redirect to the posts endpoint.