Description of the issue:
PWA (Progressive Web App) is does not have the install button when accessed through Brave’s built-in IPFS server (at bafy…CID.ipfs.localhost:48084), but the install button does appear when accessed through the IPFS companion (or manually-started) IPFS gateway (at bafy…CID.ipfs.localhost:8080).
Steps to Reproduce (add as many as necessary): 1. 2. 3.
ipfs daemon &
git clone https://github.com/SuzanneSoy/minimal-pwa-brave-ipfs-bug
ipfs
cd minimal-pwa-brave-ipfs-bug
ipfs
ipfs cid base32 "$(ipfs add --ignore-rules-path .ipfsignore --pin=false --hidden -Qr .)"
# bafybeifcwxaa65iyev3hoe5cemsq7nzm6kiratcyialavjpv2e2q67dn3u
then access:
- http://bafybeifcwxaa65iyev3hoe5cemsq7nzm6kiratcyialavjpv2e2q67dn3u.ipfs.localhost:48084 (gets rewritten in the URL bar to ipfs://bafybeifcwxaa65iyev3hoe5cemsq7nzm6kiratcyialavjpv2e2q67dn3u)
- http://bafybeifcwxaa65iyev3hoe5cemsq7nzm6kiratcyialavjpv2e2q67dn3u.ipfs.localhost:8080
Actual Result (gifs and screenshots are welcome!):
Brave’s built-in ipfs:// URL (internally port 48084)
IPFS companion or standalone URL (port 8080)
The page accessed using brave’s built-in IPFS support does not have the “+ Install” button on the right-hand-side of the URL bar.
Expected result:
The page accessed using brave’s built-in IPFS support should have the “+ Install” button on the right-hand-side of the URL bar, like it does when accessed via IPFS Companion.
Reproduces how often:
Everytime
Operating System and Brave Version(See the About Brave
page in the main menu):
Linux: NixPkgs on Linux Mint 21.3
Brave: Version 1.66.118 Chromium: 125.0.6422.147 (Official Build) (64-bit)
Additional Information:
Screenshots of the network requests and responses for both URLs are available at https://github.com/SuzanneSoy/minimal-pwa-brave-ipfs-bug/tree/screenshots