UI Doesn't work when served from localhost IPFS.
Open
Nobody has claimed this yet.
bug
p0
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
When accessing the page via localhost IPFS (e.g., IPFS Desktop), nothing works. The issue is that infura appears to be blocking requests from localhost origins.
Steps to Reproduce
- Install IPFS Companion and IPFS Desktop.
- Navigate to https://app.uniswap.org
- Notice that you are redirected to http://app.uniswap.org.ipns.localhost:8080
- Notice that you are unable to get the price of any pairs.
Expected Behavior
The website works properly when accessed via localhost.
Additional Context
Probably related to #1091.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by serving the interface through the localhost IPFS URL described in the issue, then investigate requests to Infura and compare the context in issue #1091. Done means pair prices and the rest of the website work when accessed through localhost IPFS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100