testing http://localhost:3000/ipfs/bafkqablimvwgy3y results in redirect page trying to load config at url: src="http://http://localhost:3000/ipfs/bafkqablimvwgy3y:3000#/ipfs-sw-config@origin=http%3A%2F%2Flocalhost%3A3000"
replacing ${window.location.protocol}//${parentDomain} with ${parentDomain} correctly renders the iframe.. but then results in a bunch of nested iframes:
https://github.com/ipfs-shipyard/helia-service-worker-gateway/blob/92679927312c5f2e8363dc7838b50450e188b8a4/src/redirectPage.tsx#L14
testing http://localhost:3000/ipfs/bafkqablimvwgy3y results in redirect page trying to load config at url:
src="http://http://localhost:3000/ipfs/bafkqablimvwgy3y:3000#/ipfs-sw-config@origin=http%3A%2F%2Flocalhost%3A3000"
replacing
${window.location.protocol}//${parentDomain}
with${parentDomain}
correctly renders the iframe.. but then results in a bunch of nested iframes: