Open pfrazee opened 6 years ago
I've implemented this for viewing links like dat://fritter.hashbase.io/user/dat://fritter-taravancil.hashbase.io
, but we still need to resolve shortnames in a few other places.
updated my “location” on twitter to my fritter url: dat://fritter.hashbase.io/user/dat://fritter-ricky.hashbase.io thanks @pfrazee @taravancil
we still need to resolve shortnames in a few other places.
like posts? e.g. dat://fritter.hashbase.io/user/dat://fritter-taravancil.hashbase.io/posts/0jct7qxn9.json
Right now if you view my profile with the DNS shortname (ie
dat://fritter.hashbase.io/user/dat://fritter-pfrazee.hashbase.io
) the app will treat the profile you view as different from the raw URL version. To solve that, we need to resolve the URL before indexing it.