PrimeDAO / prime-launch-dapp

https://launch.prime.xyz
6 stars 13 forks source link

IPFS URLS aren't fetching properly #181

Open dkent600 opened 2 years ago

dkent600 commented 2 years ago

Only care about mainnet here. We can see these errors in the console:

ERROR [PrimeLaunch] Error fetching from https://bafybeicjmx3hw5kzuzovbvyphzu7z5luhfzhvvrq5lhfjquwdx7ionzu7i.ipfs.dweb.link/: Unexpected token o in JSON at position 1
webpack:/node_modules/aurelia-logging-console/dist/native-modules/aurelia-logging-console.js:45
ERROR [PrimeLaunch] Error fetching from https://bafybeiebpxhamddry6ebfrcpirvkd6slwtc4nfqhrng4w7njmkv2iqgb5y.ipfs.dweb.link/: Unexpected token o in JSON at position 1
webpack:/node_modules/aurelia-logging-console/dist/native-modules/aurelia-logging-console.js:45
ERROR [PrimeLaunch] Error fetching from https://bafybeick5mozllkwessstgvebwvqcallrkoiiakrl3agh2lghwapg53dmy.ipfs.dweb.link/: Unexpected token o in JSON at position 1
webpack:/node_modules/aurelia-logging-console/dist/native-modules/aurelia-logging-console.js:45
ERROR [PrimeLaunch] Error fetching from https://tokens.uniswap.org.ipns.dweb.link/: Network Error
webpack:/node_modules/aurelia-logging
dkent600 commented 2 years ago

Fixed two problems:

1) the uniswap uri was wrong 2) the ipsfservice had a bug