File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ isIPFS.ipnsSubdomain('http://bafybeiabc2xofh6tdi6vutusorpumwcikw3hf3st4ecjugo6j5
102
102
isIPFS .ipnsSubdomain (' http://bafybeiabc2xofh6tdi6vutusorpumwcikw3hf3st4ecjugo6j52f6xwc6q.dweb.link' ) // false
103
103
isIPFS .ipnsSubdomain (' http://QmcNioXSC1bfJj1dcFErhUfyjFzoX2HodkRccsFFVJJvg8.ipns.dweb.link' ) // false
104
104
isIPFS .ipnsSubdomain (' http://en.wikipedia-on-ipfs.org.ipns.localhost:8080' ) // true (assuming DNSLink)
105
- isIPFS .ipnsSubdomain (' http://hostname-without-tld.ipns.dweb.link' ) // false (missing TLD)
105
+ isIPFS .ipnsSubdomain (' http://en-wikipedia--on--ipfs-org.ipns.localhost:8080' ) // true (assuming inlined DNSLink)
106
+ isIPFS .ipnsSubdomain (' http://hostname-without-tld-.ipns.dweb.link' ) // false (not a CID, invalid DNS label)
106
107
107
108
isIPFS .multiaddr (' /ip4/127.0.0.1/udp/1234' ) // true
108
109
isIPFS .multiaddr (' /ip4/127.0.0.1/udp/1234/http' ) // true
You can’t perform that action at this time.
0 commit comments