Open mlinksva opened 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.
Ah, perfect, thanks for the report! I guess if the request content-type is text/html I should probably redirect to the posts endpoint.
text/html
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.