ipfs / ipfs/ipfs-webui

webui seems to not resolve apiAPI URL correctly when hosted elsewhere

Open
#960 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
534
PR merge metrics
No merged PRs in 30d

Description

When using `QmSDgpiHco5yXdyVTfhKxr3aiJ82ynz8V14QcGKicM3rVh/` version from `https://lunet.link/webui` apiAPI seems to resolve to 127.0.0.1:5001 but with a latest release `QmXc9raDM1M5G5fpBnVyQ71vR4gbnskwnB9iMEzBuLgvoZ` it produces invalid URL.

I'm afraid I did not saved it but it was something like `https:///dnsaddr/lunet.link/` or something strange like that.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue at https://lunet.link/webui with the two content versions named in the report, recording the exact API URL produced. Trace the web UI's API URL resolution entry point and compare both versions; done means the hosted web UI produces a valid API URL rather than localhost or a malformed URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.