olizilla / dweb.link

Open ipfs:// links with dweb.link
https://dweb.link
18 stars 4 forks source link

fix: uri query param #2

Closed lidel closed 3 years ago

lidel commented 3 years ago

@olizilla this change makes the API call use the correct path (which will work on every gateway):

  1. it is uri not url :-)
  2. ?uri= is scoped to only work under /ipfs/ and /ipns/ of some origin: It seems to be supported on dweb.link/ but it is not a canonicalpath for this (works only by a coincidence: dweb.link has dnslink , so behind the scenes it is resolved under /ipns/ namespace as /ipns/dweb.link/?uri=)